rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
gfx_font_t Struct Reference

Data Fields

const uint8_t * glyphs
uint8_t width
uint8_t height
uint8_t bytes_per_row
uint8_t bpp
uint8_t first
uint8_t last
uint8_t extra_count
const uint16_t * extra

Field Documentation

◆ bpp

uint8_t gfx_font_t::bpp

1 for a bit mask, 8 for coverage 0..255

◆ bytes_per_row

uint8_t gfx_font_t::bytes_per_row

1bpp: (width+7)/8, top bit left. 8bpp: width

◆ extra

const uint16_t* gfx_font_t::extra

their code points, ascending

◆ extra_count

uint8_t gfx_font_t::extra_count

glyphs after the block, 0 for none

◆ first

uint8_t gfx_font_t::first

first encoded code point

◆ glyphs

const uint8_t* gfx_font_t::glyphs

(last-first+1+extra_count) * height

  • bytes_per_row bytes

◆ height

uint8_t gfx_font_t::height

cell height in pixels

◆ last

uint8_t gfx_font_t::last

last encoded code point

◆ width

uint8_t gfx_font_t::width

cell width in pixels


The documentation for this struct was generated from the following file:
  • shared/gfx/include/gfx.h