Open CASCADE Technology 6.6.0
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

Aspect_FontMap::Aspect_FontMap ( )

Member Function Documentation

void Aspect_FontMap::AddEntry ( const Aspect_FontMapEntry AnEntry)
Standard_Integer Aspect_FontMap::AddEntry ( const Aspect_FontStyle aStyle)
void Aspect_FontMap::Dump ( ) const
Aspect_FontMapEntry Aspect_FontMap::Entry ( const Standard_Integer  AnIndex) const
Standard_Integer Aspect_FontMap::Index ( const Standard_Integer  aFontmapIndex) const
Standard_Integer Aspect_FontMap::Size ( ) const

Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines