EFM32 Gecko Software Documentation  efm32g-doc-5.1.2
__GLIB_Context_t Struct Reference

Detailed Description

GLIB Drawing Context (Multiple instances of GLIB_Context_t can exist)

Definition at line 273 of file glib.h.

#include <glib.h>

Data Fields

uint32_t backgroundColor
 
GLIB_Rectangle_t clippingRegion
 
GLIB_Font_t font
 
uint32_t foregroundColor
 
const DMD_DisplayGeometry * pDisplayGeometry
 

Field Documentation

uint32_t __GLIB_Context_t::backgroundColor

Background color

Definition at line 279 of file glib.h.

Referenced by GLIB_clear(), GLIB_clearRegion(), GLIB_contextInit(), and GLIB_drawChar().

GLIB_Font_t __GLIB_Context_t::font

Font definition

Definition at line 288 of file glib.h.

Referenced by GLIB_drawChar(), GLIB_drawString(), and GLIB_setFont().

uint32_t __GLIB_Context_t::foregroundColor

Foreground color

Definition at line 282 of file glib.h.

Referenced by GLIB_contextInit(), GLIB_drawLineH(), GLIB_drawLineV(), GLIB_drawPixel(), and GLIB_drawRectFilled().

const DMD_DisplayGeometry* __GLIB_Context_t::pDisplayGeometry

Pointer to the dimensions of the display

Definition at line 276 of file glib.h.

Referenced by GLIB_clear(), GLIB_contextInit(), GLIB_resetClippingRegion(), GLIB_resetDisplayClippingArea(), and GLIB_setClippingRegion().


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