Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Description
This routine draws the pixel on the given position. The color used is the color set by the last call to GFX_ColorSet().
If position is not on the frame buffer, then the behavior is undefined. If color is not set, before this function is called, the
output is undefined.
Preconditions
Color must be set by GFX_ColorSet().
Example
void RedBarDraw(
int left,
int top,
int right,
int bottom)
{
int x, y;
// assume RED is a red color
GFX_ColorSet(RED);
for(y = top; y < bottom + 1; y++)
for(x = left; x < right + 1; x++)
GFX_PixelPut(x, y);
}
Parameters
Parameters Description
x Horizontal position of the pixel.
y Vertical position of the pixel.
Function
GFX_STATUS GFX_PixelPut(
uint16_t x,
uint16_t y)
1.6.3.1.3.8 GFX_RenderStatusGet Function
This function returns the driver's status on rendering.
File
drv_gfx_display.h
Syntax
GFX_STATUS_BIT GFX_RenderStatusGet();
Returns
Returns GFX_STATUS_BITS.
Description
This function returns the driver's rendering status. Valid values returned are GFX_STATUS_BUSY_BIT or
GFX_STATUS_READY_BIT (see GFX_STATUS_BITS).
Preconditions
None.
Example
None.
1.6 Library Interface MLA - Graphics Library Help Graphics Driver Layer
362
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf