#include <grlib.h>
Data Fields | |
int32_t | size |
The size of this structure. More... | |
const Graphics_Display * | display |
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_Font * | font |
The font used to render text onto the screen. More... | |
This structure defines a drawing context to be used to draw onto the screen. Multiple drawing contexts may exist at any time.
int32_t Graphics_Context::size |
The size of this structure.
Referenced by Graphics_initContext().
const Graphics_Display* Graphics_Context::display |
The screen onto which drawing operations are performed.
Referenced by Graphics_clearDisplay(), Graphics_drawImage(), Graphics_drawLine(), Graphics_drawLineH(), Graphics_drawLineV(), Graphics_drawPixel(), Graphics_drawString(), Graphics_fillRectangle(), Graphics_flushBuffer(), Graphics_getDisplayHeight(), Graphics_getDisplayWidth(), Graphics_initContext(), Graphics_setBackgroundColor(), Graphics_setClipRegion(), and Graphics_setForegroundColor().
Graphics_Rectangle Graphics_Context::clipRegion |
The clipping region to be used when drawing onto the screen.
Referenced by Graphics_drawCircle(), Graphics_drawImage(), Graphics_drawLineH(), Graphics_drawLineV(), Graphics_drawPixel(), Graphics_drawString(), Graphics_fillCircle(), Graphics_fillRectangle(), Graphics_initContext(), and Graphics_setClipRegion().
uint32_t Graphics_Context::foreground |
The color used to draw primitives onto the screen.
Referenced by Graphics_drawButton(), Graphics_drawCheckBox(), Graphics_drawImageButton(), Graphics_drawLine(), Graphics_drawLineH(), Graphics_drawLineV(), Graphics_drawPixel(), Graphics_drawRadioButton(), Graphics_drawReleasedButton(), Graphics_drawReleasedCheckBox(), Graphics_drawReleasedImageButton(), Graphics_drawReleasedRadioButton(), Graphics_drawSelectedButton(), Graphics_drawSelectedCheckBox(), Graphics_drawSelectedImageButton(), Graphics_drawSelectedRadioButton(), Graphics_drawString(), Graphics_fillRectangle(), Graphics_initContext(), Graphics_setForegroundColor(), and Graphics_setForegroundColorTranslated().
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 font used to render text onto the screen.
Referenced by Graphics_drawButton(), Graphics_drawCheckBox(), Graphics_drawImageButton(), Graphics_drawRadioButton(), Graphics_drawReleasedButton(), Graphics_drawReleasedImageButton(), Graphics_drawSelectedButton(), Graphics_drawSelectedImageButton(), Graphics_drawSelectedRadioButton(), Graphics_drawString(), Graphics_drawStringCentered(), Graphics_getStringBaseline(), Graphics_getStringHeight(), Graphics_getStringMaxWidth(), Graphics_getStringWidth(), Graphics_initContext(), and Graphics_setFont().