Data Fields
Graphics_Context Struct Reference

#include <grlib.h>

Data Fields

int32_t size
 The size of this structure. More...
 
const Graphics_Displaydisplay
 The screen onto which drawing operations are performed. More...
 
Graphics_Rectangle clipRegion
 The clipping region to be used when drawing onto the screen. More...
 
uint32_t foreground
 The color used to draw primitives onto the screen. More...
 
uint32_t background
 The background color used to draw primitives onto the screen. More...
 
const Graphics_Fontfont
 The font used to render text onto the screen. More...
 

Detailed Description

This structure defines a drawing context to be used to draw onto the screen. Multiple drawing contexts may exist at any time.

Field Documentation

int32_t Graphics_Context::size

The size of this structure.

Referenced by Graphics_initContext().

const Graphics_Display* Graphics_Context::display
Graphics_Rectangle Graphics_Context::clipRegion
uint32_t Graphics_Context::foreground
uint32_t Graphics_Context::background

The background color used to draw primitives onto the screen.

Referenced by Graphics_clearDisplay(), Graphics_drawString(), Graphics_initContext(), Graphics_setBackgroundColor(), and Graphics_setBackgroundColorTranslated().

const Graphics_Font* Graphics_Context::font

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

Copyright 2016, Texas Instruments Incorporated