![]() |
Public API Reference |
#include <memimage.h>
Inheritance diagram for csImageMemory:
Public Methods | |
csImageMemory (int width, int height, int format=CS_IMGFMT_TRUECOLOR) | |
Create a blank image of these dimensions and the specified format. More... | |
csImageMemory (int width, int height, void *buffer, bool destroy, int format=CS_IMGFMT_TRUECOLOR, csRGBpixel *palette=0) | |
Create an iImage interface for this true colour buffer with these dimensions. More... | |
void | Clear (const csRGBpixel &colour) |
Clears image to colour. Only works for truecolor images. More... | |
virtual void | Rescale (int NewWidth, int NewHeight) |
Rescale the image to the given size. More... | |
virtual void | SetKeycolor (int r, int g, int b) |
Set the keycolor. More... | |
virtual void | ClearKeycolor () |
Remove the keycolor. More... |
Definition at line 29 of file memimage.h.
|
Create a blank image of these dimensions and the specified format.
|
|
Create an iImage interface for this true colour buffer with these dimensions. If destroy is set to true then the supplied buffer will be destroyed when the interfaces are.
|
|
Clears image to colour. Only works for truecolor images.
|
|
Remove the keycolor.
|
|
Rescale the image to the given size.
Reimplemented from csImageFile. |
|
Set the keycolor.
|