Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
1.3 Release Notes
This section describes the release notes of the Microchip Graphics Library.
Description
Microchip Graphics Library
v4.00 (2013-12-20)
New This Release:
• Major revision of the API set of the library. All the API names are modified. Refer to summary of
API changes in the Changes section.
• When rendering unfilled polygon, new API added and old API are renamed
NEW API Name Old API Name
GFX_CircleDraw() Circle()
GFX_RectangleDraw() Rectangle()
GFX_RectangleRoundDraw() Bevel()
GFX_PolygonDraw() DrawPoly()
// example
GFX_LineStyleSet(GFX_LINE_STYLE_THIN_SOLID);
GFX_ColorSet(BRIGHTRED);
GFX_RectangleDraw(left, top, right, bottom);
GFX_LineDraw(x1, y1, x2, y2);
GFX_CircleDraw(x, y, center);
• When rendering filled polygon, new API added and old API are renamed
NEW API Name Old API Name
GFX_CircleFillDraw() CircleFill()
GFX_RectangleFillDraw() BarGradient() BarAlpha()
GFX_RectangleRoundFillDraw() BevelFill()
GFX_BarDraw() Bar()
// example
GFX_FillStyleSet(GFX_FILL_STYLE_ALPHA_COLOR);
GFX_ColorSet(BRIGHTRED);
GFX_RectangleFillDraw(left, top, right, bottom);
GFX_CircleFillDraw(x, y, center);
• When rendering filled polygons, the fill style is now a parameter (see GFX_FILL_STYLE). Alpha blending and gradient
are now set as a fill style.
// example
GFX_FillStyleSet(GFX_FILL_STYLE_GRADIENT_DOUBLE_VER);
GFX_GradientColorSet(BLUE, RED);
GFX_RectangleFillDraw(50, 110, 150, 200, 20);
GFX_FillStyleSet(GFX_FILL_STYLE_ALPHA_COLOR);
GFX_ColorSet(GREEN);
GFX_RectangleRoundFillDraw(50, 110, 150, 200, 20);
• When rendering strings, you can now render the strings into a defined rectangular area and align the text.
NEW API Name Old API Name
GFX_FontSet() SetFont()
GFX_FontGet() --
1.3 Release Notes MLA - Graphics Library Help
16
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf