# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 116
- 117
- 118
- 119
- 120
…
- 373
- 374

Parameters
Parameters Description
color the color value that will be used to extract the blue
component.
Function
GFX_COLOR GFX_ComponentBlueGet(
GFX_COLOR color)
1.6.1.1.8.7 GFX_ComponentGreenGet Macro
Function to extract the green component of the given color.
File
gfx_types_macros.h
Syntax
#define GFX_ComponentGreenGet(color) (((color) & 0x00FF00) >> 8)
Returns
The green component of the given color.
Description
Function to extract the green component of the given color.
Remarks
None.
Preconditions
None.
Example
None.
Parameters
Parameters Description
color the color value that will be used to extract the green
component.
Function
GFX_COLOR GFX_ComponentGreenGet(
GFX_COLOR color)
1.6.1.1.8.8 GFX_ComponentRedGet Macro
Function to extract the red component of the given color.
File
gfx_types_macros.h
Syntax
#define GFX_ComponentRedGet(color) (((color) & 0xFF0000) >> 16)
Returns
The red component of the given color.
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
118

- 1
- 2
…
- 116
- 117
- 118
- 119
- 120
…
- 373
- 374