class CBitmapFont : public CFont |
Bitmap font class. An object of this class may either access and use a bitmap font (a CFontBitmap) or an open font (a COpenFont). Stored in a CFontStore.
Public Member Functions | |
---|---|
IMPORT_C TInt | BitmapEncoding() |
IMPORT_C TCharacterMetrics | CharacterMetrics(TInt, const TUint8 *&) |
IMPORT_C TBool | CharacterNeedsToBeRasterized(TInt, TInt) |
IMPORT_C void | DeleteShape(TInt, TShapeHeader *) |
IMPORT_C TBool | GetCharacterData(TInt, TInt, TOpenFontCharMetrics &, const TUint8 *&) |
IMPORT_C TBool | GetFaceAttrib(TOpenFontFaceAttrib &) |
IMPORT_C void | GetFontMetrics(TOpenFontMetrics &) |
TGlyphBitmapType | GlyphBitmapType() |
IMPORT_C TBool | HasCharacterL(TInt) |
TBool | IsOpenFont() |
COpenFont * | OpenFont() |
IMPORT_C TBool | Rasterize(TInt, TInt, TOpenFontGlyphData *) |
IMPORT_C TShapeHeader * | ShapeTextL(const TDesC16 &, TInt, const TShapeMessageParameters &) |
TUid | Uid() |
IMPORT_C TUint32 | UniqueFontId() |
IMPORT_C void | operator delete(TAny *) |
Inherited Enumerations | |
---|---|
CFont:TCharacterDataAvailability | |
CFont:TTextDirection |
Public Attributes | |
---|---|
TAlgStyle | iAlgStyle |
Private Attributes | |
---|---|
TInt | iFontBitmapOffset |
TFontSpec | iFontSpecInTwips |
RHeap * | iHeap |
COpenFont * | iOpenFont |
TUint32 | iReserved |
TUint32 | iUniqueFontId |
CBitmapFont | ( | RHeap * | aHeap, |
const TFontSpec & | aFontSpecInTwips, | ||
const TAlgStyle & | aAlgStyle, | ||
CFontBitmap * | aFontBitmap | ||
) | [private] |
CBitmapFont | ( | RHeap * | aHeap, |
const TFontSpec & | aFontSpecInTwips, | ||
const TAlgStyle & | aAlgStyle, | ||
COpenFont * | aOpenFont | ||
) | [private] |
IMPORT_C TCharacterMetrics | CharacterMetrics | ( | TInt | aCode, |
const TUint8 *& | aBytes | |||
) | const |
IMPORT_C TBool | CharacterNeedsToBeRasterized | ( | TInt | aSessionHandle, |
TInt | aCode | |||
) | const |
IMPORT_C void | DeleteShape | ( | TInt | aSessionHandle, |
TShapeHeader * | aHeader | |||
) |
TInt aSessionHandle | |
TShapeHeader * aHeader |
IMPORT_C TInt | DoAscentInPixels | ( | ) | const [private, virtual] |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases. Please see derived class for implementation.
IMPORT_C TInt | DoBaselineOffsetInPixels | ( | ) | const [private, virtual] |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases. Please see derived class for implementation.
IMPORT_C TInt | DoCharWidthInPixels | ( | TChar | aChar | ) | const [private, virtual] |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases. Please see derived class for implementation.
TChar aChar |
IMPORT_C TInt | DoExtendedFunction | ( | TUid | aFunctionId, |
TAny * | aParam = NULL | |||
) | const [private, virtual] |
IMPORT_C TFontSpec | DoFontSpecInTwips | ( | ) | const [private, virtual] |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases. Please see derived class for implementation.
IMPORT_C TInt | DoHeightInPixels | ( | ) | const [private, virtual] |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases. Please see derived class for implementation.
IMPORT_C TInt | DoMaxCharWidthInPixels | ( | ) | const [private, virtual] |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases. Please see derived class for implementation.
IMPORT_C TInt | DoMaxNormalCharWidthInPixels | ( | ) | const [private, virtual] |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases. Please see derived class for implementation.
IMPORT_C TInt | DoTextCount | ( | const TDesC & | aText, |
TInt | aWidthInPixels | |||
) | const [private, virtual] |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases. Please see derived class for implementation.
IMPORT_C TInt | DoTextCount | ( | const TDesC & | aText, |
TInt | aWidthInPixels, | |||
TInt & | aExcessWidthInPixels | |||
) | const [private, virtual] |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases. Please see derived class for implementation.
IMPORT_C TInt | DoTextWidthInPixels | ( | const TDesC & | aText | ) | const [private, virtual] |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases. Please see derived class for implementation.
const TDesC & aText |
TInt | DoTextWidthInPixels | ( | const TDesC & | aText, |
const TMeasureTextInput * | aParam | |||
) | const [private] |
const TDesC & aText | |
const TMeasureTextInput * aParam |
IMPORT_C TUid | DoTypeUid | ( | ) | const [private, virtual] |
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases. Please see derived class for implementation.
IMPORT_C TBool | GetCharacterData | ( | TInt | aSessionHandle, |
TInt | aCode, | |||
TOpenFontCharMetrics & | aMetrics, | |||
const TUint8 *& | aBitmap | |||
) | const |
TInt aSessionHandle | |
TInt aCode | |
TOpenFontCharMetrics & aMetrics | |
const TUint8 *& aBitmap |
IMPORT_C TBool | GetFaceAttrib | ( | TOpenFontFaceAttrib & | aAttrib | ) | const |
TOpenFontFaceAttrib & aAttrib |
IMPORT_C void | GetFontMetrics | ( | TOpenFontMetrics & | aMetrics | ) | const |
TOpenFontMetrics & aMetrics |
TGlyphBitmapType | GlyphBitmapType | ( | ) | const [inline] |
Gets the anti-aliasing setting for the font, see TGlyphBitmapType for the range of values.
This is only applicable to open fonts (COpenFonts) not bitmap fonts (CBitmapFonts).
Note that this setting is stored in the device-independent font specification which is set when the bitmap font object is constructed.
The anti-aliasing setting for the font.
void | InstallOpenFontShaper | ( | COpenFont * | aOpenFont, |
CShaper::TInput & | aShaperInput | |||
) | [private] |
COpenFont * aOpenFont | |
CShaper::TInput & aShaperInput |
TBool | IsOpenFont | ( | ) | const [inline] |
CBitmapFont * | NewL | ( | RHeap * | aHeap, |
const TFontSpec & | aFontSpecInTwips, | |||
const TAlgStyle & | aAlgStyle, | |||
CFontBitmap * | aFontBitmap | |||
) | [private, static] |
CBitmapFont * | NewL | ( | RHeap * | aHeap, |
const TFontSpec & | aFontSpecInTwips, | |||
const TAlgStyle & | aAlgStyle, | |||
COpenFont * | aOpenFont | |||
) | [private, static] |
COpenFont * | OpenFont | ( | ) | const [inline] |
Returns a pointer to the open font being used by the bitmap font object.
A pointer to an open font.
IMPORT_C TBool | Rasterize | ( | TInt | aSessionHandle, |
TInt | aCode, | |||
TOpenFontGlyphData * | aGlyphData | |||
) | const |
TInt aSessionHandle | |
TInt aCode | |
TOpenFontGlyphData * aGlyphData |
void | SetUniqueFontId | ( | TUint32 | aUniqueFontId | ) | [private] |
TUint32 aUniqueFontId |
IMPORT_C TShapeHeader * | ShapeTextL | ( | const TDesC16 & | aText, |
TInt | aSessionHandle, | |||
const TShapeMessageParameters & | aParams | |||
) |