|
|
|
|
Location:
coefontprovider.h
Link against: cone.lib
class CCoeFontProvider : public CBase;
A helper object designed to make obtaining a font easier, taking into account zoom factors.
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 zoom factors
Defined in CCoeFontProvider:
Font(), NewL(), NewL(), SetTypeface(), Typeface(), UseSystemTypeface()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
static IMPORT_C CCoeFontProvider *NewL();
Standard Symbian factory method. Uses a default typeface
|
static IMPORT_C CCoeFontProvider *NewL(const TDesC &aTypefaceName);
Standard Symbian factory method. Typeface to use is provided by caller.
|
|
IMPORT_C const CFont &Font(const TCoeFont &aFont, const TZoomFactor &aZoomFactor) const;
return a CFont based on the default typeface, the supplied sample font and the supplied zoom factor
|
|
IMPORT_C void SetTypeface(const TTypeface aTypeface);
Change the typeface
|