|
Open CASCADE Technology 6.5.2
|
This class defines a FontMap object.
#include <Aspect_FontMap.hxx>

Public Member Functions | |
| Aspect_FontMap () | |
| void | AddEntry (const Aspect_FontMapEntry &AnEntry) |
| Adds an entry in the font map <me>. Warning: Raises BadAccess if FontMap size is exceeded. | |
| Standard_Integer | AddEntry (const Aspect_FontStyle &aStyle) |
| Search an identical font style entry in the font map <me> and returns the FontMapEntry Index if exist. Or add a new entry and returns the computed FontMapEntry index used. | |
| Standard_Integer | Size () const |
| Returns the Allocated fontmap Size | |
| Standard_Integer | Index (const Standard_Integer aFontmapIndex) const |
| Returns the FontMapEntry.Index of the FontMap at rank <aFontmapIndex> . | |
| void | Dump () const |
| Aspect_FontMapEntry | Entry (const Standard_Integer AnIndex) const |
| Returns the Font map entry with the index <AnIndex>. Warning: Raises BadAccess if the index less than 1 or greater than Size. | |
Protected Attributes | |
| Aspect_SequenceOfFontMapEntry | mydata |
| Aspect_FontMap::Aspect_FontMap | ( | ) |
| void Aspect_FontMap::AddEntry | ( | const Aspect_FontMapEntry & | AnEntry | ) |
| Standard_Integer Aspect_FontMap::AddEntry | ( | const Aspect_FontStyle & | aStyle | ) |
| void Aspect_FontMap::Dump | ( | ) | const |
| Aspect_FontMapEntry Aspect_FontMap::Entry | ( | const Standard_Integer | AnIndex | ) | const |
| Standard_Integer Aspect_FontMap::Index | ( | const Standard_Integer | aFontmapIndex | ) | const |
| Standard_Integer Aspect_FontMap::Size | ( | ) | const |
Aspect_SequenceOfFontMapEntry Aspect_FontMap::mydata [protected] |
1.7.4