# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

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

Preconditions
None.
Example
None.
Parameters
Parameters Description
startx the horizontal starting position of the partital area that is
being updated.
starty the vertical starting position of the partital area that is being
updated.
endx the horizontal ending position of the partital area that is being
updated.
endy the vertical ending position of the partital area that is being
updated.
Function
void DRV_GFX_CompleteDrawUpdate(
uint16_t startx,
uint16_t starty,
uint16_t endx,
uint16_t endy)
1.6.3.1.3.2 DRV_GFX_ImageDraw Function
This function is a driver specific image draw function.
File
drv_gfx_display.h
Syntax
uint16_t DRV_GFX_ImageDraw(int16_t left, int16_t top, GFX_RESOURCE_HDR * image,
GFX_PARTIAL_IMAGE_PARAM * pPartialImageData);
Returns
The status of the image draw.
• Returns 0 when device is busy and the image is not yet completely drawn. Function must be called again to complete the
rendering.
• Returns 1 when the image is completely drawn.
Description
This function is a driver specific image draw function. This function is implemented in drivers that supports accelerated
rendering. Execution of image draw functions is faster when implemented in driver layer.
Preconditions
None.
Example
None.
Parameters
Parameters Description
left horizontal start position of the image
1.6 Library Interface MLA - Graphics Library Help Graphics Driver Layer
357

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