EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
__GLIB_Font_t Struct Reference

Detailed Description

Font definition structure.

Definition at line 223 of file glib.h.

#include <glib.h>

Data Fields

uint8_t charSpacing
 
GLIB_Font_Class class
 
uint16_t cntOfMapElements
 
uint8_t fontHeight
 
uint8_t fontRowOffset
 
uint8_t fontWidth
 
uint8_t lineSpacing
 
void * pFontPixMap
 
uint8_t sizeOfMapElement
 

Field Documentation

uint8_t __GLIB_Font_t::charSpacing

Number of pixels between each character in this font.

Definition at line 247 of file glib.h.

Referenced by GLIB_drawChar(), and GLIB_drawString().

GLIB_Font_Class __GLIB_Font_t::class

The font class is used to tell glib if the font contains numbers only or characters and numbers

Definition at line 251 of file glib.h.

Referenced by GLIB_drawChar(), and GLIB_drawString().

uint16_t __GLIB_Font_t::cntOfMapElements

Number of elements in the font pixel map.

Definition at line 229 of file glib.h.

Referenced by GLIB_drawChar().

uint8_t __GLIB_Font_t::fontHeight

Height in pixels of each character.

Definition at line 241 of file glib.h.

Referenced by GLIB_drawChar(), and GLIB_drawString().

uint8_t __GLIB_Font_t::fontRowOffset

Font row offset.

Definition at line 235 of file glib.h.

Referenced by GLIB_drawChar().

uint8_t __GLIB_Font_t::fontWidth

Width in pixels of each character.

Definition at line 238 of file glib.h.

Referenced by GLIB_drawChar(), and GLIB_drawString().

uint8_t __GLIB_Font_t::lineSpacing

Number of pixels between each line in this font.

Definition at line 244 of file glib.h.

Referenced by GLIB_drawString().

void* __GLIB_Font_t::pFontPixMap

Pointer to the pixel map for the font.

Definition at line 226 of file glib.h.

Referenced by GLIB_drawChar().

uint8_t __GLIB_Font_t::sizeOfMapElement

Size of each element in the font pixel map.

Definition at line 232 of file glib.h.

Referenced by GLIB_drawChar().


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