Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
The rendering of this shape becomes undefined when any one of the following is true:
• Any of the following pixel locations left,top or right,bottom falls outside the frame buffer.
• Fill style is not set (GFX_FillStyleSet(), before this function is called.
• Colors are not set before this function is called.
• When right < left
• When bottom < top
• When pixel locations defined by left, top and/or right, bottom are not on the frame buffer.
Preconditions
Fill style must be set by GFX_FillStyleSet(). Color must be set by GFX_ColorSet().
Example
// assume BLUE and RED are macros that define GFX_COLOR types
GFX_STATUS status;
GFX_FillStyleSet(GFX_FILL_STYLE_GRADIENT_DOUBLE_VER);
GFX_GradientColorSet(BLUE, RED);
status = GFX_RectangleFillDraw(50, 110, 150, 200, 20);
if (status == GFX_STATUS_SUCCESS)
// Filled rounded rectangle shape was drawn.
else
// Filled rounded rectangle shape is not drawn or not yet
// finished rendering. To finish the rendering call the
// function again with the same parameters.
Parameters
Parameters Description
left defines the left most pixel of the shape.
top defines the top most pixel of the shape.
right defines the right most pixel of the shape.
bottom defines the bottom most pixel of the shape.
radius defines the radius of the rounded corner. A zero value will
result in a rectangular shape drawn.
Function
GFX_STATUS GFX_RectangleRoundFillDraw(
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
92
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf