ePaper_EXT3_Basic_Library Reference Manual  501
Library for Pervasive Displays EXT3 - Basic level
hV_Font.h
Go to the documentation of this file.
1 
38 // SDK
39 #if defined(ENERGIA) // LaunchPad specific
40 #include "Energia.h"
41 #else // Arduino general
42 #include "Arduino.h"
43 #endif // end IDE
44 
45 // Configuration
46 #include "hV_Configuration.h"
47 
48 // The Arduino IDE doesn't allow to select the libraries, hence this condition.
49 #if (FONT_MODE == USE_FONT_TERMINAL)
50 
51 #ifndef hV_FONT_HEADER_STRUCTURE_RELEASE
52 #define hV_FONT_HEADER_STRUCTURE_RELEASE 401
56 
60 struct width_s
61 {
62  uint16_t pixel;
63  uint16_t index;
64 };
65 
90 struct font_s
91 {
92  uint8_t kind;
93  uint8_t height;
94  uint8_t maxWidth;
95  uint8_t first;
96  uint8_t number;
97 };
98 
99 #endif // USE_FONT_TERMINAL
100 
101 #endif // hV_FONT_HEADER_STRUCTURE_RELEASE
uint8_t maxWidth
maximum width in pixels from *width array
Definition: hV_Font.h:94
uint8_t height
general height in pixels
Definition: hV_Font.h:93
Configuration of the options for Pervasive Displays Library Suite.
uint8_t kind
font description
Definition: hV_Font.h:92
Structure for font.
Definition: hV_Font.h:90
Structure for character width.
Definition: hV_Font.h:60
uint16_t index
relative address
Definition: hV_Font.h:63
uint8_t number
number of characters, usually 96 or 224
Definition: hV_Font.h:96
uint16_t pixel
width in pixel
Definition: hV_Font.h:62
uint8_t first
number of first character, usually 32
Definition: hV_Font.h:95