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


Public Member Functions | |
| TiledPixmap (const QPixmap &pixmap, QSize size, QPoint origin, bool move_orig, Abstract *canvas=NULL) | |
| TiledPixmap (Abstract *canvas=NULL) | |
| QPixmap | pixmap () const |
| void | setPixmap (const QPixmap &pixmap) |
| void | setSize (QSize size) |
| QPoint | origin () const |
| void | setOrigin (QPoint size) |
| bool | moveOrigin () |
| void | setMoveOrigin (bool move_orig) |
| virtual void | paint (QPainter *p) |
| virtual QRect | rect () const |
A Pixmap is a pixmap that can be put in the canvas.
|
||||||||||||||||||||||||
|
Constructor, specifying the pixmap and the parameters to use |
|
|
Constructor, creating with an empty pixmap |
|
|
If the origin is moved |
|
|
The origin |
|
|
Override this function to draw the item with the painter Implements Canvas::Item. |
|
|
Returns the pixmap |
|
|
Override this function to return the rect the item will be drawn into Implements Canvas::Item. |
|
|
Sets if the origin of the brush will be moved with the pixmap |
|
|
Sets the origin of the tiles |
|
|
Sets the pixmap of the tile |
|
|
Sets the size |
1.4.3-20050530