|
||
class TFontSpec;
Specifies the font specification in device independent terms.
Defined in TFontSpec
:
ExternalizeL(RWriteStream &)const
Externalises the font specification to a write stream.InternalizeL(RReadStream &)
Internalises a font specification from a read stream.SetScriptTypeForMetrics(TLanguage)
Specifies the script with which font metrics calculation will be based on. TFontSpec()
Default constructor.TFontSpec(const TDesC &,TInt)
Constructs a TFontSpec object with the specified typeface and height.iFontStyle
The font style of the typeface. iHeight
The height of the typeface (in twips). iTypeface
The typeface. operator==(const TFontSpec &)const
Compares this font specification with another. IMPORT_C TFontSpec();
Default constructor.
The object's font style is set to the default: EPostureUpright, EStrokeWeightNormal, and EPrintPosNormal.
IMPORT_C 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.
|
IMPORT_C TBool operator==(const TFontSpec &aFontSpec) const;
Compares this font specification with another.
|
|
IMPORT_C void InternalizeL(RReadStream &aStream);
Internalises a font specification from a read stream.
The presence of this function means that the standard templated operator>>(RReadStream &,T &)
(defined in s32strm.h
) is available to internalise objects of this class.
|
|
IMPORT_C void ExternalizeL(RWriteStream &aStream) const;
Externalises the font specification to a write stream.
The presence of this function means that the standard templated operator<<(RWriteStream &,const T &)
(defined in s32strm.h
) is available to externalise objects of this class.
|
|
IMPORT_C void SetScriptTypeForMetrics(TLanguage aLanguage);
Specifies the script with which font metrics calculation will be based on.
|
TFontStyle iFontStyle;
The font style of the typeface.