Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Parameters
Parameters Description
left Along with rad (left - rad), defines the left most pixel of the
shape.
top Along with rad (top - rad), defines the top most pixel of the
shape.
right Along with rad (right + rad), defines the right most pixel of
the shape.
bottom Along with rad (bottom + rad), defines the bottom most pixel
of the shape.
radius defines the rounded corners. When this is set to zero, there
will be no rounded corners.
Function
GFX_STATUS GFX_RectangleRoundDraw(
uint16_t left,
uint16_t top,
uint16_t right,
uint16_t bottom,
uint16_t radius)
1.6.1.1.4 Polygon Fill Rendering Functions
Functions
Name Description
GFX_BarDraw This function renders a bar shape using the currently set fill style and
color.
GFX_CircleFillDraw This function renders a filled circle shape using the currently set fill style
and colors.
GFX_RectangleFillDraw This function renders a filled rectangular shape using the currently set fill
style and colors.
GFX_RectangleRoundFillDraw This function renders a filled rectangular shape with round corners using
the currently set fill style and colors.
Description
The following API are used to render filled polygon shapes.
1.6.1.1.4.1 GFX_BarDraw Function
This function renders a bar shape using the currently set fill style and color.
File
gfx_primitive.h
Syntax
GFX_STATUS GFX_BarDraw(uint16_t left, uint16_t top, uint16_t right, uint16_t bottom);
Returns
Status of the bar rendering. GFX_STATUS_SUCCESS - bar rendering done. GFX_STATUS_FAILURE - bar rendering failed.
Description
This function renders a bar shape with the currently set fill style (See GFX_FillStyleGet() and GFX_FillStyleSet() for details
of fill style):
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
87
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf