Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
1.6.1.1.9.4 GFX_BackgroundImageTopGet Function
This function returns the vertical starting position of the current background.
File
gfx_primitive.h
Syntax
uint16_t GFX_BackgroundImageTopGet();
Returns
The vertical starting position of the current background.
Description
This function returns the vertical starting position of the current background. This position defines the y position of the upper
left corner of the background.
Preconditions
None.
Example
None.
Function
uint16_t GFX_BackgroundImageTopGet(void)
1.6.1.1.9.5 GFX_BackgroundSet Function
This function sets the background information.
File
gfx_primitive.h
Syntax
void GFX_BackgroundSet(uint16_t left, uint16_t top, GFX_RESOURCE_HDR * pImage, GFX_COLOR
color);
Returns
None.
Description
This function sets the background information. Note that the width and height of the background is only needed when the
background is an image. When the background is a color (image pointer is NULL), the width and height is not needed here
since the purpose of the background information is to record only the color used.
Preconditions
None.
Example
None.
Parameters
Parameters Description
left Horizontal starting position of the background.
top Vertical starting position of the background.
pImage Pointer to the background image used. Set this to NULL if
not used.
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
125
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf