LCD-ESP32-Driver 1.0
Project includes component for controlling LCD displays. Currently supports only one LCD controller - SSD1283A but it may change in the future.
|
Describes properties of the font to be drawn on LCD display. More...
#include <lcd_font.h>
Data Fields | |
const uint16_t | width |
const uint16_t | height |
const char | firstCharacter |
const uint16_t | characters |
const uint8_t * | pixelMap |
const uint16_t | lines |
const uint16_t | fullLines |
const uint16_t | lastLine |
Describes properties of the font to be drawn on LCD display.
const uint16_t characters |
Number of characters contained in the font
const char firstCharacter |
First character contained in the pixel map
const uint16_t fullLines |
Number of the full horizontal pixel map lines (all bits of the line are interpretable) of the single character
const uint16_t height |
Height of the single font character in pixels
const uint16_t lastLine |
Number of interpretable bits in the last horizontal line of the single character
const uint16_t lines |
Number of pixel map lines horizontally per single character
const uint8_t* pixelMap |
Pointer to array of pixel font map. The single element of the array is interpreted as a pixel map line - each bit in the line determines whether pixel exists (1 - pixel, 0 - no pixel). Consecutive font characters have to be arranged linearly in the array (representing a 2-D array in one dimension) and ordered according to the ASCII table. Order of the pixel map lines for a character should be kept horizontally from the left top corner to the right bottom corner.
const uint16_t width |
Width of the single font character in pixels