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