Blender V2.61 - r43446
Public Member Functions | Protected Attributes

KX_FontObject Class Reference

#include <KX_FontObject.h>

Inheritance diagram for KX_FontObject:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Py_Header KX_FontObject (void *sgReplicationInfo, SG_Callbacks callbacks, RAS_IRenderTools *rendertools, Object *ob)
virtual ~KX_FontObject ()
void DrawText ()
virtual CValueGetReplica ()
virtual void ProcessReplica ()

Protected Attributes

std::vector< STR_Stringm_text
Objectm_object
int m_fontid
int m_dpi
float m_fsize
float m_resolution
float m_color [4]
float m_line_spacing
MT_Vector3 m_offset
class RAS_IRenderToolsm_rendertools

Detailed Description

Definition at line 38 of file KX_FontObject.h.


Constructor & Destructor Documentation

KX_FontObject::KX_FontObject ( void *  sgReplicationInfo,
SG_Callbacks  callbacks,
RAS_IRenderTools rendertools,
Object ob 
)
KX_FontObject::~KX_FontObject ( ) [virtual]

Definition at line 101 of file KX_FontObject.cpp.


Member Function Documentation

void KX_FontObject::DrawText ( )
CValue * KX_FontObject::GetReplica ( void  ) [virtual]

Inherited from CValue -- return a new copy of this instance allocated on the heap. Ownership of the new object belongs with the caller.

Reimplemented from KX_GameObject.

Definition at line 107 of file KX_FontObject.cpp.

References KX_FontObject(), and ProcessReplica().

void KX_FontObject::ProcessReplica ( ) [virtual]

Inherited from CValue -- Makes sure any internal data owned by this class is deep copied. Called internally

Reimplemented from KX_GameObject.

Definition at line 113 of file KX_FontObject.cpp.

References KX_Scene::AddFont(), and KX_GetActiveScene().

Referenced by GetReplica().


Member Data Documentation

float KX_FontObject::m_color[4] [protected]

Definition at line 66 of file KX_FontObject.h.

Referenced by DrawText(), and KX_FontObject().

int KX_FontObject::m_dpi [protected]

Definition at line 63 of file KX_FontObject.h.

Referenced by DrawText().

int KX_FontObject::m_fontid [protected]

Definition at line 62 of file KX_FontObject.h.

Referenced by DrawText(), and KX_FontObject().

float KX_FontObject::m_fsize [protected]

Definition at line 64 of file KX_FontObject.h.

Referenced by DrawText(), and KX_FontObject().

float KX_FontObject::m_line_spacing [protected]

Definition at line 67 of file KX_FontObject.h.

Referenced by DrawText(), and KX_FontObject().

Definition at line 61 of file KX_FontObject.h.

Referenced by DrawText().

Definition at line 68 of file KX_FontObject.h.

Referenced by DrawText(), and KX_FontObject().

Definition at line 70 of file KX_FontObject.h.

Referenced by DrawText().

float KX_FontObject::m_resolution [protected]

Definition at line 65 of file KX_FontObject.h.

Referenced by DrawText().

std::vector<STR_String> KX_FontObject::m_text [protected]

Reimplemented from KX_GameObject.

Definition at line 60 of file KX_FontObject.h.

Referenced by DrawText(), and KX_FontObject().


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