CCoeFontProvider Class Reference
class CCoeFontProvider : public CBase
|
A helper object designed to make obtaining a font easier, taking into account zoom factors.
Nested Classes and Structures
Constructor & Destructor Documentation
CCoeFontProvider(const TDesC &)
CCoeFontProvider
|
(
|
const
TDesC
&
|
aTypefaceName
|
)
|
[private]
|
Parameters
const
TDesC
& aTypefaceName
|
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Symbian second-phase constructor
Font(const TCoeFont &, const TZoomFactor &)
Parameters
const
TCoeFont
& aFont
|
The requested logical font.
|
const
TZoomFactor
& aZoomFactor
|
Zoom factor used when deriving the font height.
|
NewL()
Standard Symbian factory method. Uses a default typeface
NewL(const TDesC &)
Standard Symbian factory method. Typeface to use is provided by caller.
Parameters
const
TDesC
& aTypefaceName
|
Typeface to use.
|
RefetchPixelMappingL()
void
|
RefetchPixelMappingL
|
(
|
)
|
|
flushes the array & refetches the logical-to-pixel mapping. Called when global control settings are updated
ReleaseAllFonts()
void
|
ReleaseAllFonts
|
(
|
)
|
[private]
|
SetTypeface(const TTypeface)
IMPORT_C void
|
SetTypeface
|
(
|
const
TTypeface
|
aTypeface
|
)
|
|
Parameters
const
TTypeface
aTypeface
|
The typeface to use
|
Typeface()
Return the current typeface
UseSystemTypeface()
IMPORT_C void
|
UseSystemTypeface
|
(
|
)
|
|
Member Data Documentation
RArray< TInt > iLogicalToPixelSizes
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.