class TShapeHeader |
Internal class describing shaping information.
Public Attributes | |
---|---|
TInt8 | iBuffer |
TInt | iCharacterCount |
TInt | iGlyphCount |
TInt | iReserved0 |
TInt | iReserved1 |
TInt8 | iBuffer |
The glyph, position and indices data.
The first iGlyphCount * 4 bytes contain the glyph codes as 2-byte values. The next iGlyphCount * 4 + 4 bytes contain the positions in which these glyphs are to be drawn, in pixels, taking the original pen position as origin, with the x axis going right and the y axis going down. The next iGlyphCount * 2 bytes contain the indices of the characters in the input string that correspond to the glyphs in the output.
The final entry in the position array is the total advance of the text.
Therefore this buffer is actually iGlyphCount * 10 + 4 bytes long.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.