Location:
FNTSTORE.H
Link against: fntstr.lib
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.
Defined in TAlgStyle
:
HeightFactor()
, IsBold()
, IsItalic()
, IsMono()
, SetHeightFactor()
, SetIsBold()
, SetIsItalic()
, SetIsMono()
, SetWidthFactor()
, TAlgStyle()
, WidthFactor()
, iBaselineOffsetInPixels
, operator==()
IMPORT_C void SetIsBold(TBool aIsBold);
Sets whether the font is bold.
|
IMPORT_C void SetIsItalic(TBool aIsItalic);
Sets whether the font is italic.
|
IMPORT_C void SetIsMono(TBool aIsMono);
Sets whether the font is mono width - i.e. all characters have the same width.
|
IMPORT_C void SetWidthFactor(TInt aWidthFactor);
Sets the width factor.
|
IMPORT_C void SetHeightFactor(TInt aHeightFactor);
Sets the height factor.
|
IMPORT_C TBool IsBold() const;
Returns whether the font is bold.
|
IMPORT_C TBool IsItalic() const;
Returns whether the font is italic.
|
IMPORT_C TBool IsMono() const;
Returns whether the font is mono - i.e. all characters have the same width.
|
IMPORT_C TInt WidthFactor() const;
Returns the width factor.
|
IMPORT_C TInt HeightFactor() const;
Returns the height factor.
|
IMPORT_C TBool operator==(const TAlgStyle &aAlgStyle) const;
|
|
TInt iBaselineOffsetInPixels;
Baseline offset in pixels.