IDOMFont Base Class.
More...
#include <idomfont.h>
|
virtual eFontType | getFontType () const =0 |
| Gets the font type. See eFontType for more information on font types.
|
|
virtual IDOMFontSourcePtr | getFontSource () const =0 |
| Get the font source of this font.
|
|
virtual void | setFontSource (const IDOMFontSourcePtr &fontSource)=0 |
| Sets the font source for this font.
|
|
virtual IInputStreamPtr | getFontBaseStream () const =0 |
| Return the base stream for this font, obtaining it from the font source.
|
|
virtual void | getCharacterMap (CCharacterMap &characterMap, uint32 fontIndex=0U)=0 |
| Get the character map for this font.
|
|
virtual eFontSourceType | getFontSourceType () const =0 |
| Gets the font source type.
|
|
virtual const EDLSysString & | determineUri () const =0 |
| Determines the URI based on the font source (underlying font sources may be searched)
|
|
virtual const CClassID & | getClassID () const =0 |
| Returns class ID of IEDLObject.
|
|
virtual bool | init (CClassParams *pData) |
| The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory.
|
|
virtual bool | clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory) |
| Create a copy of EDLObject.
|
|
virtual void | addRef () const =0 |
| Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
|
|
virtual bool | decRef () const =0 |
| Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
|
|
virtual int32 | getRefCount () const =0 |
| Retrieve the current reference count of the actual object pointed to.
|
|
virtual | ~IDOMHashable () |
| Virtual destructor.
|
|
virtual bool | hash (uint64 &hash)=0 |
| Retrieve a hash for this object.
|
|
virtual uint64 | hashE () |
| As hash(), but throws an exception if the operation fails.
|
|
|
virtual | ~IRCObject () |
| Virtual destructor.
|
|
◆ classID()
static const CClassID & IDOMFont::classID |
( |
| ) |
|
|
inlinestatic |
◆ getCharacterMap()
virtual void IDOMFont::getCharacterMap |
( |
CCharacterMap & | characterMap, |
|
|
uint32 | fontIndex = 0U ) |
|
pure virtual |
Get the character map for this font.
- Parameters
-
characterMap | The character map to populate. |
fontIndex | The index of the font - only used for TTC fonts. |
◆ getFontBaseStream()
virtual IInputStreamPtr IDOMFont::getFontBaseStream |
( |
| ) |
const |
|
pure virtual |
Return the base stream for this font, obtaining it from the font source.
- Returns
- IInputStreamPtr The base stream
◆ getFontSource()
virtual IDOMFontSourcePtr IDOMFont::getFontSource |
( |
| ) |
const |
|
pure virtual |
Get the font source of this font.
- Returns
- IDOMFontSourcePtr The font source.
◆ getFontType()
virtual eFontType IDOMFont::getFontType |
( |
| ) |
const |
|
pure virtual |
Gets the font type. See eFontType for more information on font types.
- Returns
- eFontType. Returns the font type.
◆ setFontSource()
virtual void IDOMFont::setFontSource |
( |
const IDOMFontSourcePtr & | fontSource | ) |
|
|
pure virtual |
Sets the font source for this font.
- Parameters
-
fontSource | The new font source |
The documentation for this class was generated from the following file: