CGDIFont Class Reference

class CGDIFont : public CBase

CGDIDeviceContext

BrowserEngine.dll
Since
2.1

Inherits from

Constructor & Destructor Documentation

CGDIFont()

CGDIFont ( ) [private]

C++ default constructor.

~CGDIFont()

~CGDIFont ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(const CGDIDeviceContext *, const NW_Text_t *, TGDIFontStyle, TUint16, TUint16, TGDIFontVariant)

void ConstructL ( const CGDIDeviceContext * aDeviceContext,
const NW_Text_t * aFamily,
TGDIFontStyle aStyle,
TUint16 aSize,
TUint16 aWeight,
TGDIFontVariant aVariant
) [private]

By default Symbian 2nd phase constructor is private.

Parameters

const CGDIDeviceContext * aDeviceContext
const NW_Text_t * aFamily
TGDIFontStyle aStyle
TUint16 aSize
TUint16 aWeight
TGDIFontVariant aVariant

DeclaredFontSize()

TUint16 DeclaredFontSize ( ) [inline]
This method
Since
2.x

FontFamily()

TDesC * FontFamily ( ) [inline]
This method
Since
2.1

FontSize()

TUint16 FontSize ( ) [inline]
This method
Since
2.1

FontStyle()

TGDIFontStyle FontStyle ( ) [inline]
This method
Since
2.1

FontVariant()

TGDIFontVariant FontVariant ( ) [inline]
This method
Since
2.1

FontWeight()

TUint16 FontWeight ( ) [inline]
This method
Since
2.1

GetAverageCharWidthInPixels()

TUint8 GetAverageCharWidthInPixels ( )
This method
Since
2.x

GetEpocNativeFont()

const void * GetEpocNativeFont ( )
This method
Since
2.1

GetFontInfo(TGDIFontInfo *)

TBrowserStatusCode GetFontInfo ( TGDIFontInfo * aFontInfo )
This method
Since
2.x

Parameters

TGDIFontInfo * aFontInfo

NewL(const CGDIDeviceContext *, const NW_Text_t *, TGDIFontStyle, TUint16, TUint16, TGDIFontVariant)

CGDIFont * NewL ( const CGDIDeviceContext * aDeviceContext,
const NW_Text_t * aFamily,
TGDIFontStyle aStyle,
TUint16 aSize,
TUint16 aWeight,
TGDIFontVariant aVariant
) [static]

Two-phased constructor.

Parameters

const CGDIDeviceContext * aDeviceContext
const NW_Text_t * aFamily
TGDIFontStyle aStyle
TUint16 aSize
TUint16 aWeight
TGDIFontVariant aVariant

SetFontSize(TUint16)

void SetFontSize ( TUint16 aFontSize )
This method
Since
2.1

Parameters

TUint16 aFontSize

Member Data Documentation

TUint16 iDeclaredFontSizeInTwips

TUint16 iDeclaredFontSizeInTwips [private]

CGDIDeviceContext * iDeviceContext

CGDIDeviceContext * iDeviceContext [private]

HBufC * iFontFamily

HBufC * iFontFamily [private]

TBool iFontFound

TBool iFontFound [private]

TUint16 iFontSize

TUint16 iFontSize [private]

TGDIFontStyle iFontStyle

TGDIFontStyle iFontStyle [private]

TGDIFontVariant iFontVariant

TGDIFontVariant iFontVariant [private]

TUint16 iFontWeight

TUint16 iFontWeight [private]