Data Fields
Graphics_Context Struct Reference

#include <grlib.h>

Collaboration diagram for Graphics_Context:
Collaboration graph
[legend]

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

§ size

int32_t Graphics_Context::size

The size of this structure.

Referenced by Graphics_initContext().

§ display

const Graphics_Display* Graphics_Context::display

§ clipRegion

Graphics_Rectangle Graphics_Context::clipRegion

§ foreground

uint32_t Graphics_Context::foreground

§ background

uint32_t Graphics_Context::background

The background color used to draw primitives onto the screen.

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

§ font

const Graphics_Font* Graphics_Context::font

The documentation for this struct was generated from the following file:
Copyright 2018, Texas Instruments Incorporated