# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 136
- 137
- 138
- 139
- 140
…
- 373
- 374

1.6.1.2 Data Types and Constants
The following are the types and constants used in the Graphics Primitive Layer.
Types
Name Description
GFX_ALIGNMENT Summary of the different text alignment supported in the library.
GFX_BACKGROUND Background information structure.
GFX_BACKGROUND_TYPE Specifies the different background fill types.
GFX_DOUBLE_BUFFERING_MODE Structure used for double buffering management.
GFX_FEATURE_STATUS States of a feature that can be enabled/disabled at run time.
GFX_FILL_STYLE Specifies the available fill styles.
GFX_FONT_ANTIALIAS_TYPE Summary of the transparency types in text anti-aliasing.
GFX_FONT_GLYPH_ENTRY The structure describing the glyph entry in fonts.
GFX_FONT_GLYPH_ENTRY_EXTENDED The structure describing the entended glyph entry in fonts.
GFX_FONT_HEADER The structure used to define the font header.
GFX_LINE_STYLE Specifies the different line styles.
GFX_MCHP_BITMAP_HEADER The structure used to define the Microchip bitmap header.
GFX_PARTIAL_IMAGE_PARAM Partial Image information structure.
GFX_RECTANGULAR_AREA A generic rectangular area structure.
GFX_RESOURCE Specifies the different resource types in the library.
GFX_RESOURCE_BINARY Defines the structure used for the binary type resource.
GFX_RESOURCE_FONT Defines the structure used for the font type resource.
GFX_RESOURCE_HDR Defines the structure used for the resource types.
GFX_RESOURCE_IMAGE Defines the structure used for the image type resource.
GFX_RESOURCE_PALETTE Defines the structure used for the palette type resource.
GFX_STATUS Rendering status.
GFX_STATUS_BIT Additional rendering status.
1.6.1.2.1 GFX_ALIGNMENT Type
Summary of the different text alignment supported in the library.
File
gfx_types_macros.h
Syntax
typedef enum {
GFX_ALIGN_LEFT,
GFX_ALIGN_HCENTER,
GFX_ALIGN_RIGHT,
GFX_ALIGN_TOP,
GFX_ALIGN_VCENTER,
GFX_ALIGN_BOTTOM,
GFX_ALIGN_CENTER
} GFX_ALIGNMENT;
Members
Members Description
GFX_ALIGN_LEFT left aligned text
GFX_ALIGN_HCENTER horizontal center aligned text
GFX_ALIGN_RIGHT right aligned text
GFX_ALIGN_TOP top aligned text
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
138

- 1
- 2
…
- 136
- 137
- 138
- 139
- 140
…
- 373
- 374