Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

KX_BlenderCanvas Class Reference

2D Blender device context abstraction. More...

#include <KX_BlenderCanvas.h>

Inheritance diagram for KX_BlenderCanvas:

RAS_ICanvas List of all members.

Public Methods

 KX_BlenderCanvas ()
virtual ~KX_BlenderCanvas ()
virtual void Init ()
virtual void SwapBuffers ()
virtual void Resize (int width,int height)
virtual void BeginFrame ()
virtual void EndFrame ()
virtual void ClearColor (float r,float g,float b,float a)
virtual void ClearBuffer (int type)
virtual int GetWidth ()
virtual int GetHeight ()

Detailed Description

2D Blender device context abstraction.

The connection from 3d rendercontext to 2d Blender surface embedding.

Definition at line 19 of file KX_BlenderCanvas.h.


Constructor & Destructor Documentation

KX_BlenderCanvas::KX_BlenderCanvas ( ) [inline]
 

Definition at line 22 of file KX_BlenderCanvas.h.

KX_BlenderCanvas::~KX_BlenderCanvas ( ) [inline, virtual]
 

Definition at line 31 of file KX_BlenderCanvas.h.


Member Function Documentation

void KX_BlenderCanvas::BeginFrame ( ) [inline, virtual]
 

Reimplemented from RAS_ICanvas.

Definition at line 43 of file KX_BlenderCanvas.h.

void KX_BlenderCanvas::ClearBuffer ( int type ) [inline, virtual]
 

Reimplemented from RAS_ICanvas.

Definition at line 66 of file KX_BlenderCanvas.h.

void KX_BlenderCanvas::ClearColor ( float r,
float g,
float b,
float a ) [inline, virtual]
 

Reimplemented from RAS_ICanvas.

Definition at line 63 of file KX_BlenderCanvas.h.

void KX_BlenderCanvas::EndFrame ( ) [inline, virtual]
 

Reimplemented from RAS_ICanvas.

Definition at line 50 of file KX_BlenderCanvas.h.

int KX_BlenderCanvas::GetHeight ( ) [inline, virtual]
 

Reimplemented from RAS_ICanvas.

Definition at line 79 of file KX_BlenderCanvas.h.

int KX_BlenderCanvas::GetWidth ( ) [inline, virtual]
 

Reimplemented from RAS_ICanvas.

Definition at line 76 of file KX_BlenderCanvas.h.

void KX_BlenderCanvas::Init ( ) [inline, virtual]
 

Reimplemented from RAS_ICanvas.

Definition at line 34 of file KX_BlenderCanvas.h.

void KX_BlenderCanvas::Resize ( int width,
int height ) [inline, virtual]
 

Reimplemented from RAS_ICanvas.

Definition at line 40 of file KX_BlenderCanvas.h.

void KX_BlenderCanvas::SwapBuffers ( ) [inline, virtual]
 

Reimplemented from RAS_ICanvas.

Definition at line 37 of file KX_BlenderCanvas.h.


The documentation for this class was generated from the following file:
Generated at Thu Feb 1 13:03:38 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000