# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 353
- 354
- 355
- 356
- 357
…
- 373
- 374

Syntax
void DRV_GFX_Initialize();
Returns
None.
Description
This function initializes the graphics display driver. This function will be called by the application.
Preconditions
None.
Example
None.
Function
void DRV_GFX_Initialize(void)
1.6.3.1.2 Driver Layer Configuration Functions
The following API are used to set the configuration of the layer.
Macros
Name Description
GFX_MaxXGet This function returns the maximum horizontal pixel coordinate.
GFX_MaxYGet This function returns the maximum vertical pixel coordinate.
1.6.3.1.2.1 GFX_MaxXGet Macro
This function returns the maximum horizontal pixel coordinate.
File
drv_gfx_display.h
Syntax
#define GFX_MaxXGet (DISP_HOR_RESOLUTION - 1)
Returns
Maximum horizontal pixel coordinate.
Description
This function returns the maximum horizontal pixel coordinate of the chosen display. The value returned is equal to the
horizontal dimension minus 1. The horizontal dimension is also dependent on the rotation of the screen. Rotation can be set
in the hardware configuration.
Preconditions
None.
Example
None.
Function
uint16_t GFX_MaxXGet(void)
1.6.3.1.2.2 GFX_MaxYGet Macro
This function returns the maximum vertical pixel coordinate.
1.6 Library Interface MLA - Graphics Library Help Graphics Driver Layer
355

- 1
- 2
…
- 353
- 354
- 355
- 356
- 357
…
- 373
- 374