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

This class defines a FontMap object.

#include <Aspect_FontMap.hxx>

Inheritance diagram for Aspect_FontMap:
Inheritance graph
[legend]

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

Constructor & Destructor Documentation


Member Function Documentation


Field Documentation


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