Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

Graphic3d_AspectText3d Class Reference

#include <Graphic3d_AspectText3d.hxx>

Inheritance diagram for Graphic3d_AspectText3d:

MMgt_TShared Standard_Transient

List of all members.


Detailed Description

Creates and updates a group of attributes for
text primitives. This group contains the colour,
font, expansion factor (height/width ratio), and
inter-character space.

Definition at line 62 of file Graphic3d_AspectText3d.hxx.


Public Member Functions

virtual Standard_EXPORT void Delete () const
 Memory deallocator for transient classes.
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT Graphic3d_AspectText3d (const Quantity_Color &AColor, const Graphic3d_NameOfFont AFont, const Standard_Real AExpansionFactor, const Standard_Real ASpace, const Aspect_TypeOfStyleText AStyle=Aspect_TOST_NORMAL, const Aspect_TypeOfDisplayText ADisplayType=Aspect_TODT_NORMAL)
Standard_EXPORT Graphic3d_AspectText3d ()
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
Standard_EXPORT void SetColor (const Quantity_Color &AColor)
 Modifies the colour of <me>.
.
Standard_EXPORT void SetColorSubTitle (const Quantity_Color &AColor)
Standard_EXPORT void SetDisplayType (const Aspect_TypeOfDisplayText ADisplayType)
 Define the display type of the text.
.
Standard_EXPORT void SetExpansionFactor (const Standard_Real AFactor)
Standard_EXPORT void SetFont (const Graphic3d_NameOfFont AFont)
 Modifies the font of <me>.
.
Standard_EXPORT void SetSpace (const Standard_Real ASpace)
 Modifies the space between the characters.
.
Standard_EXPORT void SetStyle (const Aspect_TypeOfStyleText AStyle)
Standard_EXPORT void SetTextureMappedFont (const Standard_Boolean AFlag)
 Turns usage of texture mapped fonts on/off
.
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
Standard_EXPORT void Values (Quantity_Color &AColor, Graphic3d_NameOfFont &AFont, Standard_Real &AnExpansionFactor, Standard_Real &ASpace, Aspect_TypeOfStyleText &AStyle, Aspect_TypeOfDisplayText &ADisplayType, Quantity_Color &AColorSubTitle, Standard_Boolean &ATextureMappedFont) const
 Returns the current values of the group <me>.
.
Standard_EXPORT void Values (Quantity_Color &AColor, Graphic3d_NameOfFont &AFont, Standard_Real &AnExpansionFactor, Standard_Real &ASpace) const
 Returns the current values of the group <me>.
.

Static Public Member Functions

static Standard_EXPORT
Standard_Boolean 
IsTexFontEnable ()
 Returns TRUE when the texture mapped fonts are enable to use by default.
.
static Standard_EXPORT void TexFontDisable ()
 Disable to use the texture mapped fonts by default
.
static Standard_EXPORT void TexFontEnable ()
 Enable to use the texture mapped fonts by default
.

Private Attributes

Quantity_Color MyColor
Quantity_Color MyColorSubTitle
Aspect_TypeOfDisplayText MyDisplayType
Standard_Real MyFactor
Graphic3d_NameOfFont MyFont
Standard_Real MySpace
Aspect_TypeOfStyleText MyStyle
Standard_Boolean MyTextureMappedFont

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index