#include <COEFONTPROVIDER.H>
Link against:
cone.lib
class CCoeFontProvider : public CBase;
Description
A helper object designed to make obtaining a font easier, taking into account zoom factors.
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CCoeFontProvider
- A helper object designed to make obtaining a font easier, taking into account zo...
Members
Defined in CCoeFontProvider
:
Inherited from CBase
:
Construction and destruction
IMPORT_C static CCoeFontProvider* NewL();
Description
Standard Symbian factory method. Uses a default typeface
Return value
IMPORT_C static CCoeFontProvider* NewL(const TDesC &aTypefaceName);
Description
Standard Symbian factory method. Typeface to use is provided by caller.
Parameters
const TDesC16 &aTypefaceName |
Typeface to use.
|
|
Return value
Font(const TCoeFont &,const TZoomFactor &)const
IMPORT_C const CFont& Font(const TCoeFont &aFont, const TZoomFactor &aZoomFactor) const;
Description
return a CFont
based on the default typeface, the supplied sample font and the supplied zoom factor
Parameters
const TCoeFont &aFont |
A TCoeFont object providing sample information
|
const TZoomFactor &aZoomFactor |
Zoom factor used when deriving the font height
|
|
Return value
SetTypeface(const TTypeface)
IMPORT_C void SetTypeface(const TTypeface aTypeface);
Description
Change the typeface
Parameters
const TTypeface aTypeface |
The typeface to use
|
|
IMPORT_C void UseSystemTypeface();
Description
Use the system typeface
IMPORT_C TTypeface Typeface() const;
Description
Return the current typeface
Return value