// 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 _Vrml_FontStyle_HeaderFile #define _Vrml_FontStyle_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Vrml_FontStyleFamily_HeaderFile #include #endif #ifndef _Vrml_FontStyleStyle_HeaderFile #include #endif #ifndef _Standard_OStream_HeaderFile #include #endif //! defines a FontStyle node of VRML of properties of geometry
//! and its appearance.
//! The size field specifies the height (in object space units)
//! of glyphs rendered and determines the vertical spacing of
//! adjacent lines of text.
class Vrml_FontStyle { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } Standard_EXPORT Vrml_FontStyle(const Standard_Real aSize = 10,const Vrml_FontStyleFamily aFamily = Vrml_SERIF,const Vrml_FontStyleStyle aStyle = Vrml_NONE); Standard_EXPORT void SetSize(const Standard_Real aSize) ; Standard_EXPORT Standard_Real Size() const; Standard_EXPORT void SetFamily(const Vrml_FontStyleFamily aFamily) ; Standard_EXPORT Vrml_FontStyleFamily Family() const; Standard_EXPORT void SetStyle(const Vrml_FontStyleStyle aStyle) ; Standard_EXPORT Vrml_FontStyleStyle Style() const; Standard_EXPORT Standard_OStream& Print(Standard_OStream& anOStream) const; protected: private: Standard_Real mySize; Vrml_FontStyleFamily myFamily; Vrml_FontStyleStyle myStyle; }; // other Inline functions and methods (like "C++: function call" methods) #endif