Structure defining basic geometric characteristics of fonts. More...
#include <TextBox_Definitions.h>
Public Attributes | |
| uint16_t | unitsWidth |
| Width in pixels of the DynamicText used to write the 'units' text to the screen. | |
| uint16_t | height |
| Overall height of the DynamicText. This height is selected to accomodate the height of the selected fonts. | |
| uint16_t | baseline |
| Location within DynamicText where the font baseline is to be placed. | |
Structure defining basic geometric characteristics of fonts.
TextBox uses a pair of fonts (primary font and units font). This structure captures basic geometric configuration information for these fonts.
| uint16_t Shape_t::baseline |
Location within DynamicText where the font baseline is to be placed.
Baseline is measured with respect to the top of the box. So, a box of height 100 with a baseline of 50 will place the baseline of the font centered verticaly within the DynamicText.
| uint16_t Shape_t::height |
Overall height of the DynamicText. This height is selected to accomodate the height of the selected fonts.
| uint16_t Shape_t::unitsWidth |
Width in pixels of the DynamicText used to write the 'units' text to the screen.