Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.
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.
More...

 
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_FontStyleType () 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
the index is defined.
More...

 
void Dump () const
 

Detailed Description

This class defines a fontmap entry.
A fontmap entry is an association beetwen
a FontStyle object and an index in the fontmap.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.

void Aspect_FontMapEntry::operator= ( const Aspect_FontMapEntry entry)
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

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