#include <image.h>
Definition at line 179 of file image.h.
Public Member Functions | |
SubImage (Image *parent, SDL_Surface *image, int x, int y, int width, int height) | |
Constructor. | |
~SubImage () | |
Destructor. | |
Image * | getSubImage (int x, int y, int width, int height) |
Creates a new image with the desired clipping rectangle. | |
Private Attributes | |
Image * | mParent |
SubImage::SubImage | ( | Image * | parent, | |
SDL_Surface * | image, | |||
int | x, | |||
int | y, | |||
int | width, | |||
int | height | |||
) |
Image * SubImage::getSubImage | ( | int | x, | |
int | y, | |||
int | width, | |||
int | height | |||
) | [virtual] |
Image* SubImage::mParent [private] |