libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moTextGeometry Class Reference

#include <moGUIManager.h>

Inheritance diagram for moTextGeometry:
moGeometry moResourceElement moAbstract

Public Member Functions

 moTextGeometry (const moText &p_text, const moText &parameters)
 
 moTextGeometry (const moText &p_text, float size=1.0, float height=1.0, int curveSegments=12, const moText &font="Default", const moText &weight="normal", const moText &style="normal", bool bevelEnabled=false, int bevelThickness=10.0, int bevelSize=8.0)
 
virtual ~moTextGeometry ()
 
- Public Member Functions inherited from moGeometry
 moGeometry ()
 
 moGeometry (moGeometryType p_type)
 
virtual ~moGeometry ()
 
 moGeometry (const moGeometry &p_src)
 
moGeometryoperator= (const moGeometry &p_src)
 
virtual MOboolean Init ()
 Inicializa el objeto. More...
 
virtual MOboolean Init (moResourceManager *pResourceManager)
 
virtual MOboolean Finish ()
 Finaliza el objeto, libera recursos. More...
 
virtual float * GetVerticesBuffer ()
 
virtual float * GetNormalsBuffer ()
 
virtual float * GetColorBuffer ()
 
virtual float * GetVerticesUVBuffer ()
 
virtual const moPointArrayGetVertices () const
 
virtual const moPointArrayGetNormals () const
 
virtual const moTCoordArrayGetVerticesUV () const
 
virtual const moTCoordArrayGetFacesUV () const
 
virtual const moColorArrayGetColors () const
 
virtual const moFaceArrayGetFaces () const
 
moGeometryType GetType () const
 
void applyMatrix (const moGLMatrixf &p_ModelMatrix)
 
int addAttribute (const moText &p_AttributeName, moAttribute *p_attribute)
 
int removeAttribute (const moText &p_AttributeName)
 
moAttributegetAttribute (const moText &p_AttributeName)
 
virtual moText ToJSON ()
 
- Public Member Functions inherited from moResourceElement
 moResourceElement ()
 
 moResourceElement (moResourceType p_type)
 
virtual ~moResourceElement ()
 
virtual void SetResourceManager (moResourceManager *p_rm)
 
virtual moResourceManagerGetResourceManager ()
 
moResourceType GetResourceType ()
 
- Public Member Functions inherited from moAbstract
 moAbstract ()
 
virtual ~moAbstract ()
 
MOboolean Initialized ()
 Pregunta si está inicializado. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from moGeometry
static moText TypeToStr (moGeometryType p_type)
 
- Public Attributes inherited from moGeometry
moText m_Name
 
moGeometryType m_Type
 
moPointArray m_Vertices
 
moTCoordArray m_VerticesUvs
 
moVertexArray m_Normals
 
moColorArray m_Colors
 
MOfloatm_VerticesBuffer
 
MOfloatm_NormalsBuffer
 
MOfloatm_VerticesUVBuffer
 
MOfloatm_ColorBuffer
 
moFaceArray m_Faces
 
moTCoordArray m_FaceVertexUvs
 
moAttributeArray m_Attributes
 
- Public Attributes inherited from moAbstract
MOboolean m_bInitialized
 Valor de inicialización More...
 
- Static Public Attributes inherited from moAbstract
static moDebugMODebug2 = new moDebug()
 Clase de impresión de errores para depuración More...
 
static moTextHeapMODebug = new moTextHeap()
 Lista de textos. More...
 
- Protected Attributes inherited from moResourceElement
moResourceType m_ResourceType
 
moResourceManagerm_pResourceManager
 

Detailed Description

parameters: size — Float. Size of the text. height — Float. Thickness to extrude text. Default is 50. curveSegments — Integer. Number of points on the curves. Default is 12. font — String. Font name. weight — String. Font weight (normal, bold). style — String. Font style (normal, italics). bevelEnabled — Boolean. Turn on bevel. Default is False. bevelThickness — Float. How deep into text bevel goes. Default is 10. bevelSize — Float. How far from text outline is bevel. Default is 8.

Definition at line 510 of file moGUIManager.h.

Constructor & Destructor Documentation

moTextGeometry::moTextGeometry ( const moText p_text,
const moText parameters 
)
moTextGeometry::moTextGeometry ( const moText p_text,
float  size = 1.0,
float  height = 1.0,
int  curveSegments = 12,
const moText font = "Default",
const moText weight = "normal",
const moText style = "normal",
bool  bevelEnabled = false,
int  bevelThickness = 10.0,
int  bevelSize = 8.0 
)
virtual moTextGeometry::~moTextGeometry ( )
virtual

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