Location: gdi.h
Link against: N/A
TFontSpec
Supported from 5.0
Font specification.
This class specifies the font in device independent terms.
Defined in TFontSpec
:
ExternalizeL()
, InternalizeL()
, TFontSpec()
, iFontStyle
, iHeight
, iTypeface
, operator==()
TFontSpec();
Default constructor.
The object's font style is set to the default: EPostureUpright
, EStrokeWeightNormal
, and EPrintPosNormal
.
TFontSpec(const TDesC& aTypefaceName,TInt aHeight);
Constructs a TFontSpec
object with the specified typeface and height.
The object's font style is set to the default: EPostureUpright
, EStrokeWeightNormal
, and EPrintPosNormal
.
|
TBool operator==(const TFontSpec& aFontSpec) const;
Compares a font specification for equality.
|
|
void InternalizeL(RReadStream& aStream);
Internalises a font specification from a read stream.
The presence of this function means that the standard templated operator>>()
(defined in s32strm.h) is available to internalise objects of this class.
|
|
void ExternalizeL(RWriteStream& aStream) const;
Externalises the font specification to a write stream.
The presence of this function means that the standard templated operator<<()
(defined in s32strm.h) is available to externalise objects of this class.
|
|
TTypeface iTypeface
The typeface.