RShapeInfo Class Reference
Holds shaping information for text that requires it (for example Indic text).
Nested Classes and Structures
Constructor & Destructor Documentation
Member Functions Documentation
Advance()
Returns the pen advance these glyphs require.
Close()
Frees the memory associated with this shaping information.
GlyphCount()
TInt
|
GlyphCount
|
(
|
)
|
const
|
Returns the number of glyphs in the shaped output.
GlyphPositions()
const
TPoint16
*
|
GlyphPositions
|
(
|
)
|
const
|
Returns the array of positions for the glyphs returned by Glyphs, and the total advance for the text.
Glyphs()
const
TInt32
*
|
Glyphs
|
(
|
)
|
const
|
Returns the array of glyphs. These must be ORed with 0x80000000 to make glyph numbers that functions like CFbsFont::Rasterize can accept to avoid confusing glyph numbers with Unicode character numbers.
GlyphCount
Indices()
const
TInt16
*
|
Indices
|
(
|
)
|
const
|
Returns the array of indices.
IsOpen()
IMPORT_C
TBool
|
IsOpen
|
(
|
)
|
|
Checks if this shaping information is still occupying memory.
Open(const CFont *, const TDesC16 &, TInt, TInt, TInt, TInt)
Perform shaping on the text in aText between aStartOfTextToShape and aEndOfTextToShape, based on the script conventions implied by aScriptCode.
Parameters
const
CFont
* aFont
|
The font to use for the shaping.
|
const
TDesC16
& aText
|
The text, including context.
|
TInt
aStartOfTextToShape
|
The start position within aText of the text to be shaped.
|
TInt
aEndOfTextToShape
|
The end position within aText of the text to be shaped.
|
TInt
aScriptCode
|
The script code for the script being shaped.
|
TInt
aLanguageCode
|
The language code for the language being shaped.
|
SetContext(TAny *)
void
|
SetContext
|
(
|
TAny
*
|
aContextualProcessFunc
|
)
|
|
Parameters
TAny
* aContextualProcessFunc
|
|
Member Data Documentation
TAny * iContextualProcessFunc
TAny
*
|
iContextualProcessFunc
|
[private]
|
TInt
iEndOfShapedText
TInt
|
iEndOfShapedText
|
[private]
|
const CFont * iFont
const
CFont
*
|
iFont
|
[private]
|
const TShapeHeader * iHeader
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.