# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 113
- 114
- 115
- 116
- 117
…
- 373
- 374

Parameters
Parameters Description
color the color value that will be converted.
Function
GFX_COLOR GFX_Color25Convert(
GFX_COLOR color)
1.6.1.1.8.2 GFX_Color50Convert Macro
Function to convert the 50% equivalent of the given color.
File
gfx_types_macros.h
Syntax
#define GFX_Color50Convert(color) (GFX_COLOR)((color & (0b1111011111011110))>>1)
Returns
The converted color.
Description
Function to convert the 50% equivalent of the given color.
Remarks
None.
Preconditions
None.
Example
None.
Parameters
Parameters Description
color the color value that will be converted.
Function
GFX_COLOR GFX_Color50Convert(
GFX_COLOR color)
1.6.1.1.8.3 GFX_Color75Convert Macro
Function to convert the 75% equivalent of the given color.
File
gfx_types_macros.h
Syntax
#define GFX_Color75Convert(color) (GFX_COLOR)(GFX_Color50Convert(color) +
GFX_Color25Convert(color))
Returns
The converted color.
Description
Function to convert the 75% equivalent of the given color.
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
115

- 1
- 2
…
- 113
- 114
- 115
- 116
- 117
…
- 373
- 374