Display_Lib_RPI 2.4.0
A C++ Library to connect electronic displays to Linux single board computers.
Loading...
Searching...
No Matches
Static Protected Member Functions | Static Private Attributes | List of all members
NineSegmentFont Class Reference

NineSegmentFont Class that provides access to a nine-segment font data table. More...

#include <led_segment_font_data_RDL.hpp>

Inheritance diagram for NineSegmentFont:
Inheritance graph
[legend]

Static Protected Member Functions

static const uint16_t * pFontNineSegptr ()
 Retrieves a pointer to the nine-segment font data table.
 

Static Private Attributes

static const uint16_t fontData []
 font , map of ASCII values/table to 9-segment, offset to position 32. dp-ihgfedcba order.
 

Detailed Description

NineSegmentFont Class that provides access to a nine-segment font data table.

Member Function Documentation

◆ pFontNineSegptr()

const uint16_t * NineSegmentFont::pFontNineSegptr ( )
staticprotected

Retrieves a pointer to the nine-segment font data table.

Pointer to nine segment font

Returns
Pointer to the font data array.

Member Data Documentation

◆ fontData

const uint16_t NineSegmentFont::fontData
staticprivate
Initial value:
= {
0x000, 0x206, 0x022, 0x1FE, 0x0ED, 0x1A4, 0x1E9, 0x080, 0x188, 0x00F,
0x083, 0x1C0, 0x100, 0x040, 0x200, 0x1C0, 0x1BF, 0x086, 0x05B, 0x04F,
0x066, 0x06D, 0x07D, 0x181, 0x07F, 0x06F, 0x084, 0x120, 0x0C0, 0x041,
0x081, 0x091, 0x0BB, 0x077, 0x0FD, 0x039, 0x1B1, 0x079, 0x071, 0x03D,
0x076, 0x006, 0x01E, 0x0F4, 0x038, 0x0B7, 0x037, 0x03F, 0x073, 0x13F,
0x0F5, 0x06D, 0x1A3, 0x03E, 0x1B0, 0x13E, 0x1E4, 0x162, 0x189, 0x039,
0x064, 0x00F, 0x082, 0x008, 0x003, 0x14C, 0x07C, 0x058, 0x05E, 0x158,
0x0D0, 0x0CE, 0x074, 0x005, 0x00D, 0x178, 0x018, 0x154, 0x054, 0x05C,
0x0F1, 0x067, 0x050, 0x0CC, 0x1C8, 0x01C, 0x110, 0x11C, 0x1C4, 0x06E,
0x148
}

font , map of ASCII values/table to 9-segment, offset to position 32. dp-ihgfedcba order.

Font data 9 Segment table


The documentation for this class was generated from the following files: