4 Copyright (C) 2004,2005 Maks Orlovich ([email protected])
28 class QPainter;
65 void setDefaultSize();
82 Image *image;
83 QSize size;
void setSize(QSize size)
Sets the size of the image.
An image painter let's one paint an image at the given size.
Creates an image painter for the given image...
void paint(int dx, int dy, QPainter *p, int sx=0, int sy=0, int width=-1, int height=-1)
Paints a portion of the image frame on the painter 'p' at dx and dy.
Sets the image to the default size.
An image represents a static picture or an animation, that may be incrementally loaded.