Defines the base class used by all Graphical Fonts. More...
#include "Canvas.h"Go to the source code of this file.
Classes | |
| struct | CharDef_t |
| Data Structure that defines an individual character. More... | |
| class | GrFont |
| Base class used by all Graphical Fonts. More... | |
Functions | |
| uint16_t | rgb16to12 (uint16_t color16Bit) |
| Function for converting 16-bit colors into the 12-bit color used by the TFT. | |
Defines the base class used by all Graphical Fonts.
| uint16_t rgb16to12 | ( | uint16_t | color16Bit | ) |
Function for converting 16-bit colors into the 12-bit color used by the TFT.
| [in] | color16Bit | 16-bit color |
The 12-bit color format uses 4-bits for the alpha channel, red, green, and blue. This function sets the alpha value to 0.