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 TBoolAllCharsInFontRepertoire(const TDesC &, TInt &, TInt &)
IMPORT_C TPtrC8CommandString()
CFontInfo *FontInfo()
CFont *RealFont()
IMPORT_C TBoolRepertoireContains(TChar)
IMPORT_C HBufC8 *TranslateStringL(const TDesC &)
Private Member Functions
CInfoFont(TInt, const TFontSpec &, TInt, TInt, CPdrTranslates *, const TDesC8 &, CPdrDevice *)
~CInfoFont()
voidCreateBandedFontIfRequired()
IMPORT_C TIntDoAscentInPixels()
IMPORT_C TIntDoBaselineOffsetInPixels()
IMPORT_C TIntDoCharWidthInPixels(TChar)
IMPORT_C TFontSpecDoFontSpecInTwips()
IMPORT_C TIntDoHeightInPixels()
IMPORT_C TIntDoMaxCharWidthInPixels()
IMPORT_C TIntDoMaxNormalCharWidthInPixels()
IMPORT_C TIntDoTextCount(const TDesC &, TInt)
IMPORT_C TIntDoTextCount(const TDesC &, TInt, TInt &)
IMPORT_C TIntDoTextWidthInPixels(const TDesC &)
IMPORT_C TUidDoTypeUid()
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(TIntaBaselineOffsetInPixels,
const TFontSpec &aFontSpecInTwips,
TIntaFontInfoHeightInTwips,
TIntaHeightInPixels,
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 TBoolAllCharsInFontRepertoire(const TDesC &aString,
TInt &aFirstCharNotInRepertoire,
TInt &aLength
)const

Parameters

const TDesC & aString
TInt & aFirstCharNotInRepertoire
TInt & aLength

CommandString()

IMPORT_C TPtrC8CommandString()const

CreateBandedFontIfRequired()

voidCreateBandedFontIfRequired()[private]

DoAscentInPixels()

IMPORT_C TIntDoAscentInPixels()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 TIntDoBaselineOffsetInPixels()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 TIntDoCharWidthInPixels(TCharaChar)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 TFontSpecDoFontSpecInTwips()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 TIntDoHeightInPixels()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 TIntDoMaxCharWidthInPixels()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 TIntDoMaxNormalCharWidthInPixels()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 TIntDoTextCount(const TDesC &aText,
TIntaWidthInPixels
)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 TIntDoTextCount(const TDesC &aText,
TIntaWidthInPixels,
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 TIntDoTextWidthInPixels(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 TUidDoTypeUid()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(TIntaNum)const [private]

Parameters

TInt aNum

RealFont()

CFont *RealFont()const

RepertoireContains(TChar)

IMPORT_C TBoolRepertoireContains(TCharaChar)const

Parameters

TChar aChar

TranslateStringL(const TDesC &)

IMPORT_C HBufC8 *TranslateStringL(const TDesC &aString)const

Parameters

const TDesC & aString

Width(TInt)

TInt Width(TIntaNum)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]