Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Aspect_FontMapEntry Class Reference

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

DEFINE_STANDARD_ALLOC 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_FontStyleType () 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

Constructor & Destructor Documentation


Member Function Documentation

void Aspect_FontMapEntry::operator= ( const Aspect_FontMapEntry entry) [inline]

The documentation for this class was generated from the following file: