#include <imagepainter.h>
Public Member Functions | |
ImagePainter (Image *image) | |
void | moveTo (const Coord< 2 > &coord) |
void | fillRect (int originX, int originY, int dimX, int dimY, Color color) |
Private Attributes | |
Image * | image |
Coord< 2 > | position |
LibGeoDecomp::ImagePainter::ImagePainter | ( | Image * | image | ) | [inline, explicit] |
void LibGeoDecomp::ImagePainter::fillRect | ( | int | originX, | |
int | originY, | |||
int | dimX, | |||
int | dimY, | |||
Color | color | |||
) | [inline] |
References LibGeoDecomp::Image::fillBox(), image, and position.
void LibGeoDecomp::ImagePainter::moveTo | ( | const Coord< 2 > & | coord | ) | [inline] |
References position.
Image* LibGeoDecomp::ImagePainter::image [private] |
Referenced by fillRect().
Coord<2> LibGeoDecomp::ImagePainter::position [private] |
Referenced by fillRect(), and moveTo().