COpenFontLinkedTypefaceElementSpec Class Reference
class COpenFontLinkedTypefaceElementSpec : public CBase |
Class for specifying a single typeface element within a linked typeface specification. Its features determine how the typeface is rendered within the linked fonts that use it.
This class is used to communicate between the server and the rasterizer.
Another similar but separate class, CLinkedTypefaceElementSpec, will be used client side and to communicate between the server and the rasterizer.
WARNING: Class for internal and partner use ONLY. Compatibility is not guaranteed in future releases.
CLinkedTypefaceElementSpec
Inherits from
- COpenFontLinkedTypefaceElementSpec
Constructor & Destructor Documentation
COpenFontLinkedTypefaceElementSpec(TInt)
COpenFontLinkedTypefaceElementSpec | ( | TInt | aGroupId | ) | [private] |
~COpenFontLinkedTypefaceElementSpec()
IMPORT_C | ~COpenFontLinkedTypefaceElementSpec | ( | ) | |
Member Functions Documentation
Canonical()
IMPORT_C TBool | Canonical | ( | ) | const |
Returns the element canonical setting.
ConstructL(const TDesC &)
void | ConstructL | ( | const TDesC & | aTypefaceName | ) | [private] |
Parameters
const TDesC & aTypefaceName | |
ElementName()
IMPORT_C TPtrC | ElementName | ( | ) | const |
Returns the typeface that this element represents within the linked typeface.
FileName()
IMPORT_C TPtrC | FileName | ( | ) | const |
Returns the path and filename of file containing the font this element represents.
GroupId()
IMPORT_C TInt | GroupId | ( | ) | const |
Returns the group Id specified at construction.
NewLC(const TDesC &, TInt)
Create a new linked typeface element specification. The name specified must be an existing typeface that should be added to the linked typeface. The group ID links this typeface to a linked typeface group.
CLinkedTypefaceSpecification::Group()
Parameters
const TDesC & aTypefaceName | The typeface name for this element |
TInt aGroupId | The ID of the linked font group this element should belong to |
SetCanonical(TBool)
IMPORT_C void | SetCanonical | ( | TBool | aIsCanonical | ) | |
Set whether the element is the canonical (metrics) font. This is the font that provides all the metrics for the linked typeface.
Parameters
TBool aIsCanonical | Whether this element is canonical or not |
SetFileNameL(const TDesC &)
IMPORT_C void | SetFileNameL | ( | const TDesC & | aFileName | ) | |
Sets the path and filename of file containing the font this element represents.
WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases.
Parameters
const TDesC & aFileName | Path and filename of this element |
Member Data Documentation
HBufC * iElementName
HBufC * | iElementName | [private] |
HBufC * iFileName
HBufC * | iFileName | [private] |
TBool
iIsCanonical
TBool
| iIsCanonical | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.