Solo Controller Documentation 1.0
Documentation for the Solo Controller
 
Loading...
Searching...
No Matches
Shape_t Struct Reference

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.
 

Detailed Description

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.

Member Data Documentation

◆ baseline

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.

◆ height

uint16_t Shape_t::height

Overall height of the DynamicText. This height is selected to accomodate the height of the selected fonts.

◆ unitsWidth

uint16_t Shape_t::unitsWidth

Width in pixels of the DynamicText used to write the 'units' text to the screen.


The documentation for this struct was generated from the following file: