#include <canvas.h>
Inheritance diagram for Canvas::Picture:


Public Member Functions | |
| Picture (const QPicture &picture, Abstract *canvas=NULL) | |
| Picture (Abstract *canvas=NULL) | |
| QPicture | picture () const |
| void | setPicture (const QPicture &picture) |
| virtual void | paint (QPainter *p) |
| virtual QRect | rect () const |
A Picture is a picture that can be replayed on the canvas.
|
||||||||||||
|
Constructor, specifying the picture to use |
|
|
Constructor, creating with an empty picture |
|
|
Override this function to draw the item with the painter Implements Canvas::Item. |
|
|
Returns the picture |
|
|
Override this function to return the rect the item will be drawn into Implements Canvas::Item. |
|
|
Sets the picture of the sprite |
1.4.3-20050530