csScreenShot Class Reference
[Common Plugin Classes]
Simple iImage implementation for canvas screenshots.
More...
#include <csplugincommon/canvas/scrshot.h>
Inherits scfImplementationExt1<csScreenShot, csImageBase, iDataBuffer>.
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. | |
| char * | GetData () const |
| iDataBuffer implementation | |
| size_t | GetSize () const |
| iDataBuffer implementation | |
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
| char* csScreenShot::GetData | ( | ) | const [inline] |
| 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] |
| size_t csScreenShot::GetSize | ( | ) | const [inline] |
| 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 1.4.0 by doxygen 1.5.8
