| class CCoeFontProvider : public CBase |
A helper object designed to make obtaining a font easier, taking into account zoom factors.
| Public Member Functions | |
|---|---|
| ~CCoeFontProvider() | |
| IMPORT_C const CFont & | Font(const TCoeFont &, const TZoomFactor &) |
| IMPORT_C CCoeFontProvider * | NewL() |
| IMPORT_C CCoeFontProvider * | NewL(const TDesC &) |
| void | RefetchPixelMappingL() |
| IMPORT_C void | SetTypeface(const TTypeface) |
| IMPORT_C TTypeface | Typeface() |
| IMPORT_C void | UseSystemTypeface() |
| Private Member Functions | |
|---|---|
| CCoeFontProvider(const TDesC &) | |
| void | ConstructL() |
| void | ReleaseAllFonts() |
| Private Attributes | |
|---|---|
| RArray< TFont > | iFonts |
| RArray< TInt > | iLogicalToPixelSizes |
| TTypeface | iTypeface |
| CCoeFontProvider | ( | const TDesC & | aTypefaceName | ) | [private] |
| const TDesC & aTypefaceName |
| IMPORT_C const CFont & | Font | ( | const TCoeFont & | aFont, |
| const TZoomFactor & | aZoomFactor | |||
| ) | const | |||
| const TCoeFont & aFont | |
| const TZoomFactor & aZoomFactor |
| IMPORT_C CCoeFontProvider * | NewL | ( | const TDesC & | aTypefaceName | ) | [static] |
| const TDesC & aTypefaceName |
| IMPORT_C void | SetTypeface | ( | const TTypeface | aTypeface | ) |
| const TTypeface aTypeface |