Open CASCADE Technology 6.6.0
|
Structure for store of Font System Information
#include <Font_SystemFont.hxx>
Public Member Functions | |
Font_SystemFont () | |
Creates empty font object | |
Font_SystemFont (const Handle< TCollection_HAsciiString > &theFontName, const Font_FontAspect theFontAspect, const Handle< TCollection_HAsciiString > &theFilePath) | |
Creates Font object initialized with <FontName> as name <FontAspect>.... TODO | |
Font_SystemFont (const Handle< TCollection_HAsciiString > &theXLFD, const Handle< TCollection_HAsciiString > &theFilePath) | |
Creates Font object and initialize class fields with values taken from XLFD (X Logical Font Description) | |
Handle_TCollection_HAsciiString | FontName () const |
Returns font family name | |
Handle_TCollection_HAsciiString | FontPath () const |
Returns font file path Level: Public | |
Font_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 |
Standard_Boolean | IsEqual (const Handle< Font_SystemFont > &theOtherFont) const |
Return true if the FontName, FontAspect and FontSize are the same. Level: Public |
Font_SystemFont::Font_SystemFont | ( | ) |
Font_SystemFont::Font_SystemFont | ( | const Handle< TCollection_HAsciiString > & | theFontName, |
const Font_FontAspect | theFontAspect, | ||
const Handle< TCollection_HAsciiString > & | theFilePath | ||
) |
Font_SystemFont::Font_SystemFont | ( | const Handle< TCollection_HAsciiString > & | theXLFD, |
const Handle< TCollection_HAsciiString > & | theFilePath | ||
) |
Font_FontAspect Font_SystemFont::FontAspect | ( | ) | const |
Standard_Integer Font_SystemFont::FontHeight | ( | ) | const |
Handle_TCollection_HAsciiString Font_SystemFont::FontName | ( | ) | const |
Handle_TCollection_HAsciiString Font_SystemFont::FontPath | ( | ) | const |
Standard_Boolean Font_SystemFont::IsEqual | ( | const Handle< Font_SystemFont > & | theOtherFont | ) | const |
Standard_Boolean Font_SystemFont::IsValid | ( | ) | const |