Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
GFX_FillStyleSet(GFX_FILL_STYLE_GRADIENT_LEFT);
GFX_RectangleFillDraw( 10, 110, 100, 200);
Parameters
Parameters Description
style The specified fill style to be used.
Function
GFX_STATUS GFX_FillStyleSet(
GFX_FILL_STYLE style)
1.6.1.1.7.5 GFX_GradientColorSet Function
Sets the gradient fill start and end color.
File
gfx_primitive.h
Syntax
GFX_STATUS GFX_GradientColorSet(GFX_COLOR startColor, GFX_COLOR endColor);
Returns
Status of the color set. GFX_STATUS_SUCCESS - gradient color set done. GFX_STATUS_FAILURE - gradient color set
failed.
Description
This function sets the gradient fill start and end colors (see GFX_FILL_STYLE) when rendering gradient filled shapes. All
subsequent calls to the following using gradient fills:
• GFX_RectangleFillDraw()
• GFX_RectangleRoundFillDraw()
• GFX_CircleFillDraw()
will use the start and end colors set by this function.
Preconditions
None.
Example
See GFX_FillStyleSet().
Parameters
Parameters Description
startColor Gradient start color to be used.
endColor Gradient end color to be used.
Function
GFX_STATUS GFX_GradientColorSet(
GFX_COLOR startColor,
GFX_COLOR endColor)
1.6.1.1.7.6 GFX_GradientEndColorGet Function
Return the gradient end color when rendering gradient filled shapes.
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
111
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf