Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
GFX_ALIGN_VCENTER vertical center aligned text
GFX_ALIGN_BOTTOM bottom aligned text
GFX_ALIGN_CENTER vertical & horizontal center aligned text
Description
Typedef: GFX_ALIGNMENT
This lists all the different text alignment supported in the library. The text alignment is used in GFX_TextStringBoxDraw().
Remarks
None.
1.6.1.2.2 GFX_BACKGROUND Type
Background information structure.
File
gfx_types_macros.h
Syntax
typedef struct {
uint16_t left;
uint16_t top;
GFX_BACKGROUND_TYPE type;
GFX_RESOURCE_HDR * pImage;
GFX_COLOR color;
} GFX_BACKGROUND;
Members
Members Description
uint16_t left; Horizontal starting position of the background.
uint16_t top; Horizontal starting position of the background.
GFX_BACKGROUND_TYPE type; Specifies the type of background to use.
GFX_RESOURCE_HDR * pImage; Pointer to the background image used. Set this to NULL if
not used.
GFX_COLOR color; If the background image is NULL, background is assumed to
be this color.
Description
Typedef: GFX_BACKGROUND
Structure describing the background information. Useful in refreshing the whole screen or an area of the screen. The
background information, when used, can be one of the enumerated types in GFX_BACKGROUND_TYPE.
• pBackGroundImage - pointer to a GFX_RESOURCE_HEADER with the type
GFX_RESOURCE_TYPE_MCHP_MBITMAP.
• backGroundColor - value of the background color used when pBackgroundImage is NULL.
The pBackGroundImage has the high priority and will assume an image is used as a background when the pointer is
initialized. If this is NULL the backgroundColor is assumed to be the background.
Remarks
None.
1.6.1.2.3 GFX_BACKGROUND_TYPE Type
Specifies the different background fill types.
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
139
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf