#include <GXLayoutEngine.h>
Inheritance diagram for GXLayoutEngine::

Public Methods | |
| GXLayoutEngine (const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, const MorphTableHeader *morphTable) | |
| This is the main constructor. More... | |
| virtual | ~GXLayoutEngine () |
| The destructor, virtual for correct polymorphic invocation. More... | |
| virtual UClassID | getDynamicClassID () const |
| ICU "poor man's RTTI", returns a UClassID for the actual class. More... | |
Static Public Methods | |
| UClassID | getStaticClassID () |
| ICU "poor man's RTTI", returns a UClassID for this class. More... | |
Protected Methods | |
| virtual le_int32 | computeGlyphs (const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphID *&glyphs, le_int32 *&charIndices, LEErrorCode &success) |
| This method does GX layout using the font's 'mort' table. More... | |
| virtual void | adjustGlyphPositions (const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphID glyphs[], le_int32 glyphCount, float positions[], LEErrorCode &success) |
| This method adjusts the glyph positions using the font's 'kern', 'trak', 'bsln', 'opbd' and 'just' tables. More... | |
Protected Attributes | |
| const MorphTableHeader * | fMorphTable |
| The address of the 'mort' table. More... | |
Static Private Attributes | |
| const char | fgClassID |
| The address of this static class variable serves as this class's ID for ICU "poor man's RTTI". More... | |
A font is a GX or AAT font if it contains a 'mort' table. See Apple's TrueType Reference Manual (http://fonts.apple.com/TTRefMan/index.html) for details. Information about 'mort' tables is in the chapter titled "Font Files."
Definition at line 29 of file GXLayoutEngine.h.
|
||||||||||||||||||||
|
This is the main constructor. It constructs an instance of GXLayoutEngine for a particular font, script and language. It takes the 'mort' table as a parameter since LayoutEngine::layoutEngineFactory has to read the 'mort' table to know that it has a GX font. Note: GX and AAT fonts don't contain any script and language specific tables, so the script and language are ignored.
|
|
|
The destructor, virtual for correct polymorphic invocation.
|
|
||||||||||||||||||||||||||||||||||||
|
This method adjusts the glyph positions using the font's 'kern', 'trak', 'bsln', 'opbd' and 'just' tables. Input parameters:
|
|
||||||||||||||||||||||||||||||||||||
|
This method does GX layout using the font's 'mort' table. It converts the input character codes to glyph indices using mapCharsToGlyphs, and then applies the 'mort' table. Input parameters:
|
|
|
ICU "poor man's RTTI", returns a UClassID for the actual class.
Reimplemented from LayoutEngine. Definition at line 65 of file GXLayoutEngine.h. |
|
|
ICU "poor man's RTTI", returns a UClassID for this class.
Reimplemented from LayoutEngine. Definition at line 72 of file GXLayoutEngine.h. |
|
|
The address of the 'mort' table.
|
|
|
The address of this static class variable serves as this class's ID for ICU "poor man's RTTI".
Reimplemented from LayoutEngine. Definition at line 132 of file GXLayoutEngine.h. |
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001