![]() |
![]() |
#include <grlib.h>
Data Fields | |
long | lSize |
The size of this structure. | |
const tDisplay * | pDisplay |
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 tFont * | pFont |
The font used to render text onto the screen. |
This structure defines a drawing context to be used to draw onto the screen. Multiple drawing contexts may exist at any time.
long tContext::lSize |
The size of this structure.
Referenced by GrContextInit().
const tDisplay* tContext::pDisplay |
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().
const tFont* tContext::pFont |
The font used to render text onto the screen.
Referenced by GrContextInit(), GrStringDraw(), and GrStringWidthGet().