Open CASCADE Technology 6.6.0
Data Structures
Graphic3d_AspectText3d.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Graphic3d_AspectText3d.hxx>
#include <TCollection_AsciiString.hxx>
#include <Quantity_Color.hxx>
#include <Standard_Real.hxx>
#include <Aspect_TypeOfStyleText.hxx>
#include <Aspect_TypeOfDisplayText.hxx>
#include <Standard_Boolean.hxx>
#include <Font_FontAspect.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_CString.hxx>

Data Structures

class  Graphic3d_AspectText3d
 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.

NOTE: The font name is stored in the aspect instance
so it is safe to pass it as const char* to OpenGl package
without copying the string. However, the aspect should not
be deleted until the text drawn using this aspect is no longer
visible. The best practice is to keep the aspect in the object's drawer.
More...
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines