|
DMCP interface 03.17_023
|
Font display state. More...
#include <dmcp.h>
Data Fields | |
| line_font_t const * | f |
| Current font. | |
| int16_t | x |
| Current x position. | |
| int16_t | y |
| Current y position. | |
| int16_t | ln_offs |
| Line offset (when displaying by line numbers) | |
| int16_t | y_top_grd |
| Don't overwrite anything above this LCD y-line. | |
| int8_t | ya |
| Lines to fill above the font. | |
| int8_t | yb |
| Lines to fill below the font. | |
| int8_t | xspc |
| Space between chars. | |
| int8_t | xoffs |
| X offset for first char on line. | |
| uint8_t | fixed |
| Draw in fixed width. | |
| uint8_t | inv |
| Draw inverted. | |
| uint8_t | bgfill |
| Fill background while drawing. | |
| uint8_t | lnfill |
| Fill whole line before writing line. | |
| uint8_t | newln |
| Jump to new line after writing line. | |
| const uint8_t * | post_offs |
| Array with character x offsets (optional) | |
Font display state.
Display state for printing on LCD. Contains current x,y position and font settings.
| const uint8_t* post_offs |
Array with character x offsets (optional)
Current x position is advanced by glyph width after the glyph is displayed. This array allows to introduce corrections to this movement separately for each character.
Not used if post_offs is NULL.