/usr/include/oce/Font_SystemFont.hxx is in liboce-visualization-dev 0.17.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Font_SystemFont_HeaderFile
#define _Font_SystemFont_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Font_SystemFont.hxx>
#include <Handle_TCollection_HAsciiString.hxx>
#include <Font_FontAspect.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
class TCollection_HAsciiString;
//! Structure for store of Font System Information
class Font_SystemFont : public MMgt_TShared
{
public:
//! Creates empty font object
Standard_EXPORT Font_SystemFont();
//! Creates Font object initialized with <FontName> as name
//! <FontAspect>.... TODO
Standard_EXPORT Font_SystemFont(const Handle(TCollection_HAsciiString)& theFontName, const Font_FontAspect theFontAspect, const Handle(TCollection_HAsciiString)& theFilePath);
//! Creates Font object and initialize class fields with
//! values taken from XLFD (X Logical Font Description)
Standard_EXPORT Font_SystemFont(const Handle(TCollection_HAsciiString)& theXLFD, const Handle(TCollection_HAsciiString)& theFilePath);
//! Returns font family name
Standard_EXPORT Handle(TCollection_HAsciiString) FontName() const;
//! Returns font file path
//! Level: Public
Standard_EXPORT Handle(TCollection_HAsciiString) FontPath() const;
//! Returns font aspect
//! Level: Public
Standard_EXPORT Font_FontAspect FontAspect() const;
//! Returns font height
//! If returned value is equal -1 it means that font is resizable
//! Level: Public
Standard_EXPORT Standard_Integer FontHeight() const;
Standard_EXPORT Standard_Boolean IsValid() const;
//! Return true if the FontName, FontAspect and FontSize are the same.
//! Level: Public
Standard_EXPORT Standard_Boolean IsEqual (const Handle(Font_SystemFont)& theOtherFont) const;
DEFINE_STANDARD_RTTI(Font_SystemFont)
protected:
private:
Handle(TCollection_HAsciiString) MyFontName;
Font_FontAspect MyFontAspect;
Standard_Integer MyFaceSize;
Handle(TCollection_HAsciiString) MyFilePath;
Standard_Boolean MyVerification;
};
#endif // _Font_SystemFont_HeaderFile
|