Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Parameters
Parameters Description
pString Pointer to the specified string.
pFont Pointer to the specified font.
Function
uint16_t GFX_TextStringWidthGet(
GFX_XCHAR* pString,
GFX_RESOURCE_HDR *pFont);
1.6.1.1.7 Rendering Style Functions
The following API are used to set and get rendering styles.
Functions
Name Description
GFX_AlphaBlendingValueGet This function returns the current alpha value set for alpha blending
rendering.
GFX_AlphaBlendingValueSet This function sets the alpha value for alpha blending rendering.
GFX_FillStyleGet Return the fill style used when rendering filled shapes.
GFX_FillStyleSet Set the fill style to be used when rendering filled shapes.
GFX_GradientColorSet Sets the gradient fill start and end color.
GFX_GradientEndColorGet Return the gradient end color when rendering gradient filled shapes.
GFX_GradientStartColorGet Return the gradient start color when rendering gradient filled shapes.
GFX_LineStyleGet Return the line style used when rendering lines.
GFX_LineStyleSet Set the line style to be used when rendering lines.
1.6.1.1.7.1 GFX_AlphaBlendingValueGet Function
This function returns the current alpha value set for alpha blending rendering.
File
gfx_primitive.h
Syntax
uint16_t GFX_AlphaBlendingValueGet();
Returns
The alpha blending value.
Description
This function returns the current alpha value set for alpha blending rendering. See GFX_AlphaBlendingValueSet() for details
of alpha blending values.
Preconditions
None.
Example
None.
Function
uint16_t GFX_AlphaBlendingValueGet(void)
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
108
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf