# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

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

File
drv_gfx_display.h
Syntax
#define GFX_MaxYGet (DISP_VER_RESOLUTION - 1)
Returns
Maximum vertical pixel coordinate.
Description
This function returns the maximum vertical pixel coordinate of the chosen display. The value returned is equal to the vertical
dimension minus 1. The vertical 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_MaxYGet(void)
1.6.3.1.3 Driver Layer Rendering Functions
The following API are the basic driver layer rendering functions.
Functions
Name Description
DRV_GFX_CompleteDrawUpdate This function completes the partial update for bi-stable displays.
DRV_GFX_ImageDraw This function is a driver specific image draw function.
DRV_GFX_SetupDrawUpdate This function sets up the partial update for bi-stable displays.
GFX_PixelArrayGet Reads an array of pixels from the frame buffer.
GFX_PixelArrayPut Renders an array of pixels to the frame buffer.
GFX_PixelGet Gets color of the pixel on the given position.
GFX_PixelPut Draw the pixel on the given position.
GFX_RenderStatusGet This function returns the driver's status on rendering.
1.6.3.1.3.1 DRV_GFX_CompleteDrawUpdate Function
This function completes the partial update for bi-stable displays.
File
drv_gfx_display.h
Syntax
void DRV_GFX_CompleteDrawUpdate(uint16_t startx, uint16_t starty, uint16_t endx, uint16_t
endy);
Returns
None.
Description
This function completes the partial update for bi-stable displays.
1.6 Library Interface MLA - Graphics Library Help Graphics Driver Layer
356

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