CInfoFont Class Reference

class CInfoFont : public CFont

WARNING: Class for internal use ONLY. Compatibility is not guaranteed in future releases.

Inherits from

Public Member Functions
IMPORT_C TBool AllCharsInFontRepertoire (const TDesC &, TInt &, TInt &)
IMPORT_C TPtrC8 CommandString ()
CFontInfo * FontInfo ()
CFont * RealFont ()
IMPORT_C TBool RepertoireContains ( TChar )
IMPORT_C HBufC8 * TranslateStringL (const TDesC &)
Private Member Functions
CInfoFont ( TInt , const TFontSpec &, TInt , TInt , CPdrTranslates *, const TDesC8 &, CPdrDevice *)
~CInfoFont ()
void CreateBandedFontIfRequired ()
IMPORT_C TInt DoAscentInPixels ()
IMPORT_C TInt DoBaselineOffsetInPixels ()
IMPORT_C TInt DoCharWidthInPixels ( TChar )
IMPORT_C TFontSpec DoFontSpecInTwips ()
IMPORT_C TInt DoHeightInPixels ()
IMPORT_C TInt DoMaxCharWidthInPixels ()
IMPORT_C TInt DoMaxNormalCharWidthInPixels ()
IMPORT_C TInt DoTextCount (const TDesC &, TInt )
IMPORT_C TInt DoTextCount (const TDesC &, TInt , TInt &)
IMPORT_C TInt DoTextWidthInPixels (const TDesC &)
IMPORT_C TUid DoTypeUid ()
TInt Height ( TInt )
TInt Width ( TInt )
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CFont::AscentInPixels()const
CFont::BaselineOffsetInPixels()const
CFont::CharWidthInPixels(TChar)const
CFont::CharactersJoin(TInt,TInt)
CFont::DescentInPixels()const
CFont::DoExtendedFunction(TUid,TAny *)const
CFont::DoGetCharacterData(TUint,TOpenFontCharMetrics &,const TUint8 *&,TSize &)const
CFont::DoGetCharacterPosition(TPositionParam &)const
CFont::ExtendedFunction(TUid,TAny *)const
CFont::FontCapitalAscent()const
CFont::FontLineGap()const
CFont::FontMaxAscent()const
CFont::FontMaxDescent()const
CFont::FontMaxHeight()const
CFont::FontSpecInTwips()const
CFont::FontStandardDescent()const
CFont::GetCharacterData(TUint,TOpenFontCharMetrics &,const TUint8 *&,TSize &)const
CFont::GetCharacterPosition(TPositionParam &)const
CFont::GetCharacterPosition2(TPositionParam &,RShapeInfo &)const
CFont::HeightInPixels()const
CFont::MaxCharWidthInPixels()const
CFont::MaxNormalCharWidthInPixels()const
CFont::MeasureText(const TDesC &,const TMeasureTextInput *,TMeasureTextOutput *)const
CFont::TextCount(const TDesC &,TInt)const
CFont::TextCount(const TDesC &,TInt,TInt &)const
CFont::TextWidthInPixels(const TDesC &)const
CFont::TextWidthInPixels(const TDesC &,const TMeasureTextInput *)const
CFont::TypeUid()const
CFont::WidthZeroInPixels()const
CFont::~CFont()
Inherited Enumerations
CFont:TCharacterDataAvailability
CFont:TTextDirection
Private Attributes
TInt iBaselineOffsetInPixels
TCommandString iCommandString
CFontInfo * iFontInfo
TInt iFontInfoHeightInTwips
TFontSpec iFontSpecInTwips
TInt iHeightInPixels
CPdrDevice * iPdrDevice
CFont * iRealFont
CPdrTranslates * iTranslates

Constructor & Destructor Documentation

CInfoFont(TInt, const TFontSpec &, TInt, TInt, CPdrTranslates *, const TDesC8 &, CPdrDevice *)

CInfoFont ( TInt aBaselineOffsetInPixels,
const TFontSpec & aFontSpecInTwips,
TInt aFontInfoHeightInTwips,
TInt aHeightInPixels,
CPdrTranslates * aTranslates,
const TDesC8 & aCommandString,
CPdrDevice * aPdrDevice
) [private]

Parameters

TInt aBaselineOffsetInPixels
const TFontSpec & aFontSpecInTwips
TInt aFontInfoHeightInTwips
TInt aHeightInPixels
CPdrTranslates * aTranslates
const TDesC8 & aCommandString
CPdrDevice * aPdrDevice

~CInfoFont()

~CInfoFont ( ) [private]

Member Functions Documentation

AllCharsInFontRepertoire(const TDesC &, TInt &, TInt &)

IMPORT_C TBool AllCharsInFontRepertoire ( const TDesC & aString,
TInt & aFirstCharNotInRepertoire,
TInt & aLength
) const

Parameters

const TDesC & aString
TInt & aFirstCharNotInRepertoire
TInt & aLength

CommandString()

IMPORT_C TPtrC8 CommandString ( ) const

CreateBandedFontIfRequired()

void CreateBandedFontIfRequired ( ) [private]

DoAscentInPixels()

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.

DoBaselineOffsetInPixels()

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.

DoCharWidthInPixels(TChar)

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.

Parameters

TChar aChar

DoFontSpecInTwips()

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.

DoHeightInPixels()

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.

DoMaxCharWidthInPixels()

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.

DoMaxNormalCharWidthInPixels()

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.

DoTextCount(const TDesC &, TInt)

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.

Parameters

const TDesC & aText
TInt aWidthInPixels

DoTextCount(const TDesC &, TInt, TInt &)

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.

Parameters

const TDesC & aText
TInt aWidthInPixels
TInt & aExcessWidthInPixels

DoTextWidthInPixels(const TDesC &)

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.

Parameters

const TDesC & aText

DoTypeUid()

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.

FontInfo()

CFontInfo * FontInfo ( ) const [inline]

Height(TInt)

TInt Height ( TInt aNum ) const [private]

Parameters

TInt aNum

RealFont()

CFont * RealFont ( ) const

RepertoireContains(TChar)

IMPORT_C TBool RepertoireContains ( TChar aChar ) const

Parameters

TChar aChar

TranslateStringL(const TDesC &)

IMPORT_C HBufC8 * TranslateStringL ( const TDesC & aString ) const

Parameters

const TDesC & aString

Width(TInt)

TInt Width ( TInt aNum ) const [private]

Parameters

TInt aNum

Member Data Documentation

TInt iBaselineOffsetInPixels

TInt iBaselineOffsetInPixels [private]

TCommandString iCommandString

TCommandString iCommandString [private]

CFontInfo * iFontInfo

CFontInfo * iFontInfo [private]

TInt iFontInfoHeightInTwips

TInt iFontInfoHeightInTwips [private]

TFontSpec iFontSpecInTwips

TFontSpec iFontSpecInTwips [private]

TInt iHeightInPixels

TInt iHeightInPixels [private]

CPdrDevice * iPdrDevice

CPdrDevice * iPdrDevice [private]

CFont * iRealFont

CFont * iRealFont [private]

CPdrTranslates * iTranslates

CPdrTranslates * iTranslates [private]