Data Fields
tContext Struct Reference

#include <grlib.h>

Data Fields

long lSize
 The size of this structure.
const tDisplaypDisplay
 The screen onto which drawing operations are performed.
tRectangle sClipRegion
 The clipping region to be used when drawing onto the screen.
unsigned long ulForeground
 The color used to draw primitives onto the screen.
unsigned long ulBackground
 The background color used to draw primitives onto the screen.
const tFontpFont
 The font used to render text onto the screen.

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

The size of this structure.

Referenced by GrContextInit().

The screen onto which drawing operations are performed.

Referenced by GrContextClipRegionSet(), GrContextInit(), GrImageDraw(), GrLineDraw(), GrLineDrawH(), GrLineDrawV(), GrPaletteConversion(), GrRectFill(), and GrStringDraw().

The clipping region to be used when drawing onto the screen.

Referenced by GrCircleDraw(), GrCircleFill(), GrContextClipRegionSet(), GrContextInit(), GrImageDraw(), GrLineDrawH(), GrLineDrawV(), GrRectFill(), and GrStringDraw().

unsigned long tContext::ulForeground

The color used to draw primitives onto the screen.

Referenced by GrContextInit(), GrLineDraw(), GrLineDrawH(), GrLineDrawV(), GrRectFill(), and GrStringDraw().

unsigned long tContext::ulBackground

The background color used to draw primitives onto the screen.

Referenced by GrContextInit(), and GrStringDraw().

The font used to render text onto the screen.

Referenced by GrContextInit(), GrStringDraw(), and GrStringWidthGet().


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

Copyright 2012, Texas Instruments Incorporated