class MOpenFontShapingExtension |
Open Font System Extension Interface abstract base class.
COpenFont derivers should also derive from this interface to enable complex font "shaping".
This interface should be returned by the overridden COpenFont::ExtendedInterface function when KUidOpenFontShapingExtension is supplied as the UID.
Public Member Functions | |
---|---|
void | GetExtensionFontMetrics(TExtensionFontMetrics &) |
TInt | GlyphIndex(TInt) |
TBool | GlyphPointInFontUnits(TInt, TInt, TInt &, TInt &) |
TBool | GlyphPointInHintedPixels(TInt, TInt, TReal &, TReal &) |
void | RasterizeGlyphL(TInt, TOpenFontGlyphData *) |
void | GetExtensionFontMetrics | ( | TExtensionFontMetrics & | aOut | ) | [pure virtual] |
Returns font metrics.
TExtensionFontMetrics & aOut | Font metrics returned. |
TInt | GlyphIndex | ( | TInt | aUnicodeCharacter | ) | const [pure virtual] |
Maps a character to a glyph index.
TInt aUnicodeCharacter | Unicode character code to be mapped. |
TBool | GlyphPointInFontUnits | ( | TInt | aGlyphIndex, |
TInt | aPointNumber, | |||
TInt & | aX, | |||
TInt & | aY | |||
) | const [pure virtual] |
Returns the coordinates of a particular (unhinted) point in the outline of the given glyph in font units.
TBool | GlyphPointInHintedPixels | ( | TInt | aGlyphIndex, |
TInt | aPointNumber, | |||
TReal & | aX, | |||
TReal & | aY | |||
) | const [pure virtual] |
Returns the hinted pixel coordinates of a particular point in the outline of the given glyph.
void | RasterizeGlyphL | ( | TInt | aCode, |
TOpenFontGlyphData * | aGlyphData | |||
) | [pure virtual] |
Creates a bitmap for the specified Glyph code.
Implementations of this function should put the bitmap in aGlyphData->iBitmapBuffer, and the character metrics are placed in aGlyphData->iMetricsBuffer. The other parts of aGlyphData should be left alone.
This function provides the same functionality as the COpenFont::RasterizeL() except that the glyph code is supplied rather than the unicode.
For more information: COpenFont::RasterizeL()
TInt aCode | The glyph code of the character for which the bitmap is required. |
TOpenFontGlyphData * aGlyphData | The function puts its output here. |
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.