Blender  V2.59
Public Member Functions | Public Attributes | 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

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

Public Attributes

 Py_Header

Protected Attributes

STR_String m_text
Objectm_object
int m_fontid
int m_dpi
float m_fsize
float m_resolution
float m_color [4]
class RAS_IRenderToolsm_rendertools

Detailed Description

Definition at line 40 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 80 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 86 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 92 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 68 of file KX_FontObject.h.

Referenced by DrawText(), and KX_FontObject().

int KX_FontObject::m_dpi [protected]

Definition at line 65 of file KX_FontObject.h.

Referenced by DrawText().

int KX_FontObject::m_fontid [protected]

Definition at line 64 of file KX_FontObject.h.

Referenced by DrawText(), and KX_FontObject().

float KX_FontObject::m_fsize [protected]

Definition at line 66 of file KX_FontObject.h.

Referenced by DrawText(), and KX_FontObject().

Definition at line 63 of file KX_FontObject.h.

Referenced by DrawText().

Definition at line 70 of file KX_FontObject.h.

Referenced by DrawText().

float KX_FontObject::m_resolution [protected]

Definition at line 67 of file KX_FontObject.h.

Referenced by DrawText().

Reimplemented from KX_GameObject.

Definition at line 62 of file KX_FontObject.h.

Referenced by DrawText(), and KX_FontObject().

Reimplemented from KX_GameObject.

Definition at line 43 of file KX_FontObject.h.


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