Vault 7: Projects

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

Description
Extended glyphs are needed to render characters of certain languages which use more than one byte to represent a single
character. For example: Asian languages like Thai, Hindi, etc. In these character set, more than one glyph overlaps each
other to form a single character of that language as shown in the figure below.
Extended glyph fonts can be generated using the Graphics Resource Converter (GRC) tool that comes with the installation
of the Graphics Library.
Remarks
The fonts used with extended glyphs are normal ANSI fonts and not Unicode fonts.
1.4.2.2 Using the Graphics Object Layer
This section contains information on how to use the Graphics Object Layer of the Graphics Library.
1.4.2.2.1 Object Rendering and Style Schemes
This section describes how style schemes are used in rendering the objects of the Graphics Library.
Description
Style Scheme
All the objects in the library utilizes the style scheme to define how the object will rendered on the screen. The style scheme
defines the colors, images, fonts and text that will be used. Choosing the appropriate colors and settings allows the object to
be rendered in so many ways.
Style schemes are applied to the objects by assigning the style scheme pointer to the object at creation. When the objects
are rendered, the current settings of the style scheme will then be used to render the object. Objects cannot be created
without a valid style scheme. This means that it cannot be null or undefined when the object is created. Style scheme can be
modified anytime. It can be replaced using the GFX_GOL_ObjectStyleSchemeSet().
Style scheme is divided into these groups (See GFX_GOL_OBJ_SCHEME for details):
1. Text - The parameter that defines the text used in the object
pFont - defines the font used in the style of the object.
2. Colors - The parameters that defines the shape of the object.
EmbossDkColor - defines the dark emboss color.
EmbossLtColor - defines the light emboss color.
TextColor0 - defines the first text color option.
TextColor1 - defines the second text color option.
TextColorDisabled - defines the third text color option.
Color0 - defines the first face color option.
Color1 - defines the second face color option.
ColorDisabled - defines the third face color option.
EmbossDkColor - defines the dark emboss color.
3. Background - The parameters that describes the background of the object. The background information defines how the
object will be drawn with the background taken into account.
CommonBkColor - Background color used to hide when the background type (GFX_BACKGROUND_TYPE) is set to
GFX_BACKGROUND_COLOR or GFX_BACKGROUND_NONE.
1.4 Using The Library MLA - Graphics Library Help How the Library Works
56

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh