Open CASCADE Technology 6.6.0
|
This class defines a fontmap entry.
A fontmap entry is an association beetwen
a FontStyle object and an index in the fontmap.
#include <Aspect_FontMapEntry.hxx>
Public Member Functions | |
Aspect_FontMapEntry () | |
Creates an unallocated fontmap entry | |
Aspect_FontMapEntry (const Standard_Integer index, const Aspect_FontStyle &style) | |
Creates an allocated fontmap entry | |
Aspect_FontMapEntry (const Aspect_FontMapEntry &entry) | |
Creates an allocated fontmap entry. Warning: Raises error if the fontmap entry <entry> is unallocated. | |
void | SetValue (const Standard_Integer index, const Aspect_FontStyle &style) |
Sets fontmap entry value and allocates it. | |
void | SetValue (const Aspect_FontMapEntry &entry) |
Sets fontmap entry value and allocates it. | |
void | operator= (const Aspect_FontMapEntry &entry) |
void | SetType (const Aspect_FontStyle &Style) |
Sets the line style of fontmap entry. | |
const Aspect_FontStyle & | Type () const |
void | SetIndex (const Standard_Integer index) |
Sets index value of a fontmap entry. | |
Standard_Integer | Index () const |
void | Free () |
Unallocates the fontmap entry. | |
Standard_Boolean | IsAllocated () const |
Returns True if the fontmap entry is allocated. Warning: A fontmap entry is allocated when the font and the index is defined. | |
void | Dump () const |
Aspect_FontMapEntry::Aspect_FontMapEntry | ( | ) |
Aspect_FontMapEntry::Aspect_FontMapEntry | ( | const Standard_Integer | index, |
const Aspect_FontStyle & | style | ||
) |
Aspect_FontMapEntry::Aspect_FontMapEntry | ( | const Aspect_FontMapEntry & | entry | ) |
void Aspect_FontMapEntry::Dump | ( | ) | const |
void Aspect_FontMapEntry::Free | ( | ) |
Standard_Integer Aspect_FontMapEntry::Index | ( | ) | const |
Standard_Boolean Aspect_FontMapEntry::IsAllocated | ( | ) | const |
void Aspect_FontMapEntry::operator= | ( | const Aspect_FontMapEntry & | entry | ) | [inline] |
void Aspect_FontMapEntry::SetIndex | ( | const Standard_Integer | index | ) |
void Aspect_FontMapEntry::SetType | ( | const Aspect_FontStyle & | Style | ) |
void Aspect_FontMapEntry::SetValue | ( | const Aspect_FontMapEntry & | entry | ) |
void Aspect_FontMapEntry::SetValue | ( | const Standard_Integer | index, |
const Aspect_FontStyle & | style | ||
) |
const Aspect_FontStyle& Aspect_FontMapEntry::Type | ( | ) | const |