class TAlgStyle |
An algorithmic style for how a font is drawn.
Holds attributes such as whether the font is bold or italic, and the width and height factors. This is used as an input parameter for the GetFontById() method of some font management classes. See CWsScreenDevice::GetFontById() for more information. CWsScreenDevice::GetFontById()
Public Member Functions | |
---|---|
TAlgStyle() | |
IMPORT_C TInt | HeightFactor() |
IMPORT_C TBool | IsBold() |
IMPORT_C TBool | IsItalic() |
IMPORT_C TBool | IsMono() |
IMPORT_C void | SetHeightFactor(TInt) |
IMPORT_C void | SetIsBold(TBool) |
IMPORT_C void | SetIsItalic(TBool) |
IMPORT_C void | SetIsMono(TBool) |
IMPORT_C void | SetWidthFactor(TInt) |
IMPORT_C TInt | WidthFactor() |
TBool | operator!=(const TAlgStyle &) |
IMPORT_C TBool | operator==(const TAlgStyle &) |
Private Member Enumerations | |
---|---|
enum | anonymous { EBold = 1, EItalic = 2, EMono = 4 } |
Public Attributes | |
---|---|
TInt | iBaselineOffsetInPixels |
Private Attributes | |
---|---|
TInt8 | iFlags |
TInt8 | iHeightFactor |
TInt8 | iWidthFactor |
TBool | operator!= | ( | const TAlgStyle & | aAlgStyle | ) | const |
const TAlgStyle & aAlgStyle |
IMPORT_C TBool | operator== | ( | const TAlgStyle & | aAlgStyle | ) | const |
const TAlgStyle & aAlgStyle |