csScreenShot Class Reference
[Common Plugin Classes]
Simple iImage implementation for canvas screenshots.
More...
#include <csplugincommon/canvas/scrshot.h>
Inheritance diagram for csScreenShot:
Public Member Functions | |
csScreenShot (iGraphics2D *G2D) | |
Initialize the screenshot object. | |
virtual int | GetFormat () const |
Qyery image format (see CS_IMGFMT_XXX above). | |
virtual int | GetHeight () const |
Query image height. | |
virtual const void * | GetImageData () |
Get a pointer to image data. | |
virtual const csRGBpixel * | GetPalette () |
Get image palette (or 0 if no palette). | |
virtual int | GetWidth () const |
Query image width. | |
virtual | ~csScreenShot () |
Destroy the screenshot object. |
Detailed Description
Simple iImage implementation for canvas screenshots.
Definition at line 38 of file scrshot.h.
Constructor & Destructor Documentation
csScreenShot::csScreenShot | ( | iGraphics2D * | G2D | ) |
Initialize the screenshot object.
virtual csScreenShot::~csScreenShot | ( | ) | [virtual] |
Destroy the screenshot object.
Member Function Documentation
virtual int csScreenShot::GetFormat | ( | ) | const [inline, virtual] |
virtual int csScreenShot::GetHeight | ( | ) | const [inline, virtual] |
virtual const void* csScreenShot::GetImageData | ( | ) | [inline, virtual] |
virtual const csRGBpixel* csScreenShot::GetPalette | ( | ) | [inline, virtual] |
virtual int csScreenShot::GetWidth | ( | ) | const [inline, virtual] |
The documentation for this class was generated from the following file:
- csplugincommon/canvas/scrshot.h
Generated for Crystal Space by doxygen 1.4.7