Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
the GFX_TextCharDraw() function.
Preconditions
None.
Example
None.
Function
int16_t GFX_TextCursorPositionXGet()
1.6.1.1.6.8 GFX_TextCursorPositionYGet Function
This function returns the current y position of the text cursor.
File
gfx_primitive.h
Syntax
int16_t GFX_TextCursorPositionYGet();
Returns
The current text cursor y position.
Description
This function returns the current y position of the text cursor. Text cursor is used as a starting point of the line rendered by
the GFX_TextCharDraw() function.
Preconditions
None.
Example
None.
Function
int16_t GFX_TextCursorPositionYGet()
1.6.1.1.6.9 GFX_TextStringBoxDraw Function
This function renders the given string using the currently set color and font into a rectangular area.
File
gfx_primitive.h
Syntax
GFX_STATUS GFX_TextStringBoxDraw(uint16_t x, uint16_t y, uint16_t width, uint16_t height,
GFX_XCHAR * pString, uint16_t length, GFX_ALIGNMENT align);
Returns
The status of the string rendering. GFX_STATUS_SUCCESS - the string was rendered GFX_STATUS_FAILURE - the string
was not rendered, or is not yet finished. The function must be called again to render the remaining characters or lines.
Description
This function renders the given string using the currently color and font into the rectangular area defined by the given
parameters x,y, width and height. The x,y parameters defines the left, top pixel position of the rectangular area. The width
and height defines the size of the rectangular area. The rectangular area will define the area where the text will be rendered.
Meaning all pixels EXCLUSIVE of the defined rectangle will be the rendering area for the text. If the given string exceeds the
rectangular area, any pixels falling outside and along the defined rectangle (INCLUSIVE of the rectangle) will not be drawn.
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
103
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf