DMCP interface  03.15_020
disp_stat_t Struct Reference

Font display state. More...

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) More...
 

Detailed Description

Font display state.

Display state for printing on LCD. Contains current x,y position and font settings.

Field Documentation

◆ post_offs

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.