csGraphics2D Class Reference
[Common Plugin Classes]
This is the base class for 2D canvases. More...
Public Member Functions
|csGraphics2D (iBase *)|
|Create csGraphics2D object. |
|virtual bool||Initialize (iObjectRegistry *)|
|Initialize the plugin. |
|Destroy csGraphics2D object. |
|The configuration file. |
Protected Member Functions
|virtual csTicks||Benchmark (int)|
|Perform a benchmark. |
|virtual bool||DebugCommand (const char *cmd)|
|Perform a debug command as defined by the module itself. |
|virtual void||Dump (iGraphics3D *)|
|Do a graphical dump of the current state of this object. |
|virtual csPtr< iString >||Dump ()|
|Do a text dump of the current state of this object. |
|virtual int||GetSupportedTests () const|
|Return a bit field indicating what types of functions this specific unit test implementation supports. |
|virtual csPtr< iString >||StateTest ()|
|Perform a state test. |
|virtual csPtr< iString >||UnitTest ()|
This is the base class for 2D canvases.
Plugins should derive their own class from this one and implement required (marked with an asterisk (*)) functions. Functions not marked with an asterisk are optional, but possibly slow since they are too general.
Constructor & Destructor Documentation
Destroy csGraphics2D object.
Member Function Documentation
|virtual csTicks csGraphics2D::Benchmark||(||int||num_iterations||)||
|virtual bool csGraphics2D::DebugCommand||(||const char *||cmd||)||
Perform a debug command as defined by the module itself.
Returns 'false' if the command was not recognized.
|virtual void csGraphics2D::Dump||(||iGraphics3D *||g3d||)||
|virtual int csGraphics2D::GetSupportedTests||(||)|| const
Return a bit field indicating what types of functions this specific unit test implementation supports.
This will return a combination of the CS_DBGHELP_... flags:
|virtual bool csGraphics2D::Initialize||(||iObjectRegistry *||)||
Perform a state test.
This function will test if the current state of the object is ok. It will return 0 if it is ok. Otherwise an iString is returned containing some information about the errors. DecRef() this returned string after using it.
Member Data Documentation
The documentation for this class was generated from the following file:
Generated for Crystal Space 2.1 by doxygen 1.6.1