__GLIB_Context_t Struct ReferencePlatform Middleware > GLIB

GLIB Drawing Context (Multiple instances of GLIB_Context_t can exist)

Definition at line 269 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 274 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 283 of file glib.h.

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

uint32_t __GLIB_Context_t::foregroundColor

Foreground color

Definition at line 277 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 271 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:
  • C:/repos/super_h1/platform/middleware/glib/glib/glib.h