# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 149
- 150
- 151
- 152
- 153
…
- 373
- 374

Members
Members Description
union {
uint32_t extAddress;
uint8_gfx_image_prog * progByteAddress;
uint16_gfx_image_prog * progWordAddress;
const char * constAddress;
char * ramAddress;
__eds__ char * edsAddress;
} location;
This defines the location of the binary resource in memory.
Depending on the type, the address location is interpreted
accordingly.
uint32_t extAddress; An external address.
uint8_gfx_image_prog * progByteAddress; An 8-bit addresses in the program section.
uint16_gfx_image_prog * progWordAddress; A 16-bit addresses in the program section.
const char * constAddress; An addresses in constant space in flash.
char * ramAddress; for addresses in RAM.
__eds__ char * edsAddress; for addresses in EDS.
uint32_t size; The size of the binary data in bytes.
uint32_t param1; Parameters used for the GFX_RESOURCE. Depending on
the GFX_RESOURCE type definition of param1 can change.
For IPU and RLE compressed images, param1 indicates the
compressed size of the image.
uint32_t param2; Parameters used for the GFX_RESOURCE. Depending on
the GFX_RESOURCE type
Description
Typedef: GFX_RESOURCE_BINARY
Defines the structure used for the binary type resource.
Remarks
None.
1.6.1.2.17 GFX_RESOURCE_FONT Type
Defines the structure used for the font type resource.
File
gfx_types_resource.h
Syntax
typedef struct {
union {
uint32_t extAddress;
GFX_FONT_SPACE char * progByteAddress;
char * ramAddress;
__eds__ char * edsAddress;
} location;
GFX_FONT_HEADER header;
} GFX_RESOURCE_FONT;
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
151

- 1
- 2
…
- 149
- 150
- 151
- 152
- 153
…
- 373
- 374