Vault 7: Projects

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

GFX_TextCursorPositionSet() MoveTo()
GFX_TextCursorPositionXGet() GetX()
GFX_TextCursorPositionYGet() GetY()
GFX_FontAntiAliasSet() GFX_Font_SetAntiAliasType()
GFX_FontAntiAliasGet() GFX_Font_GetAntiAliasType()
deprecated SetFontOrientation()
deprecated GetFontOrientation()
GFX_TextCharDraw() OutChar()
deprecated OutText()
GFX_TextStringDraw() OutTextXY()
GFX_TextStringBoxDraw() --
GFX_TextStringHeightGet() GetTextHeight()
GFX_TextStringWidthGet() GetTextWidth()
// example
GFX_XCHAR charArray[] = "Test String";
GFX_FontSet(myFont);
GFX_ColorSet(BRIGHTRED);
// render the whole string centered in the defined rectangular area
GFX_TextStringBoxDraw( left, top,
width, height,
charArray, 0,
GFX_ALIGN_CENTER);
Added GFX_PixelArrayPut() and GFX_PixelArrayGet() to improve efficiency of functions that perform color fills functions
as well as rendering of images. This leads to consolidation of image rendering functions in drivers to be implemented in
primitive layer. The drivers will just need to implement these two functions.
Combined API to mix styles. Previous implementation of line draw will need to setup the line type and line thickness
separately. New API will now setup the line style which is an enumeration of line thickness and types (see
GFX_LINE_STYLE).
// example
GFX_ColorSet(BRIGHTRED);
GFX_LineStyleSet(GFX_LINE_STYLE_THIN_SOLID);
GFX_LineDraw(10, 10,100, 10);
GFX_ColorSet(BRIGHTBLUE);
GFX_LineStyleSet(GFX_LINE_STYLE_THICK_DASHED);
GFX_CircleDraw(100, 100, 50);
Removed default font implementation. Application is now responsible in generating fonts.
Removed default style scheme implementation. Application is now responsible in initializing the style schemes used by
the objects.
Button object now has two image pointers to allow easy use of a Button with two images. One image will be assigned to
the press state and the other image assigned to the release state.
Added support for primitive layer background variable. This variable defines the background information which optimizes
the refresh of areas that the background occupies.
Folder path for utilities:
Graphics Resource Converter is now in <mla_root_folder>/framework/gfx/utilities/grc.
External Memory Programmer is now in <mla_root_folder>/framework/gfx/utilities/memory_programmer.
Restructure of the directory tree of the library.
Library files are now located in: <mla_root_folder>/framework/gfx
Driver files are now located in: <mla_root_folder>/framework/driver/gfx
1.3 Release Notes MLA - Graphics Library Help
17

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh