# Vault 7: Projects

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

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 111
- 112
- 113
- 114
- 115
…
- 373
- 374

Description
This function returns the line style used (see GFX_LINE_STYLE) when rendering lines.
Preconditions
None.
Example
None.
Function
GFX_LINE_STYLE GFX_LineStyleGet(void)
1.6.1.1.7.9 GFX_LineStyleSet Function
Set the line style to be used when rendering lines.
File
gfx_primitive.h
Syntax
GFX_STATUS GFX_LineStyleSet(GFX_LINE_STYLE style);
Returns
Status of the line style set. GFX_STATUS_SUCCESS - line setting done. GFX_STATUS_FAILURE - line setting not done.
Description
This function sets the line style to be used (see GFX_LINE_STYLE) when rendering lines. All calls to the following functions
• GFX_LineDraw()
• GFX_LineToDraw()
• GFX_LineToRelativeDraw()
• GFX_CircleDraw()
• GFX_RectangleDraw()
• GFX_PolygonDraw()
will use the line style set by this function. In addition, all unfilled shapes that does specify the line style to be used will use the
line style specified by this function.
Preconditions
None.
Example
GFX_ColorSet(BRIGHTRED);
GFX_LineStyleSet(GFX_LINE_STYLE_THIN_SOLID);
GFX_LineDraw(10, 10,100, 10);
Parameters
Parameters Description
style The specified line style to be used.
Function
GFX_STATUS GFX_LineStyleSet(
GFX_LINE_STYLE style)
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
113

- 1
- 2
…
- 111
- 112
- 113
- 114
- 115
…
- 373
- 374