Open CASCADE Technology 6.5.2
Public Member Functions
OSD_SystemFont Class Reference

Structure for store of Font System Information

#include <OSD_SystemFont.hxx>

Inheritance diagram for OSD_SystemFont:
Inheritance graph
[legend]

Public Member Functions

 OSD_SystemFont ()
 Creates empty font object

 OSD_SystemFont (const Handle< TCollection_HAsciiString > &FontName, const OSD_FontAspect Aspect, const Handle< TCollection_HAsciiString > &FilePath)
 Creates Font object initialized with <FontName> as name
<FontAspect>.... TODO

 OSD_SystemFont (const Handle< TCollection_HAsciiString > &XLFD, const Handle< TCollection_HAsciiString > &FilePath)
 TODO

Handle_TCollection_HAsciiString FontName () const
 Returns font family name

Handle_TCollection_HAsciiString FontPath () const
 Returns font file path
Level: Public

OSD_FontAspect FontAspect () const
 Returns font aspect
Level: Public

Standard_Integer FontHeight () const
 Returns font height
If returned value is equal -1 it means that font is resizable
Level: Public

Standard_Boolean IsValid () const

Constructor & Destructor Documentation

OSD_SystemFont::OSD_SystemFont ( )
OSD_SystemFont::OSD_SystemFont ( const Handle< TCollection_HAsciiString > &  FontName,
const OSD_FontAspect  Aspect,
const Handle< TCollection_HAsciiString > &  FilePath 
)
OSD_SystemFont::OSD_SystemFont ( const Handle< TCollection_HAsciiString > &  XLFD,
const Handle< TCollection_HAsciiString > &  FilePath 
)

Member Function Documentation

OSD_FontAspect OSD_SystemFont::FontAspect ( ) const
Standard_Integer OSD_SystemFont::FontHeight ( ) const
Handle_TCollection_HAsciiString OSD_SystemFont::FontName ( ) const
Handle_TCollection_HAsciiString OSD_SystemFont::FontPath ( ) const
Standard_Boolean OSD_SystemFont::IsValid ( ) const

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