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


Public Member Functions | |
| Rectangle (const QColor &color, QSize size, Abstract *canvas=NULL) | |
| Rectangle (Abstract *canvas=NULL) | |
| QColor | color () const |
| void | setColor (const QColor &color) |
| void | setSize (QSize size) |
| 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 |
|
|
Returns the color |
|
|
Override this function to draw the item with the painter Implements Canvas::Item. |
|
|
Override this function to return the rect the item will be drawn into Implements Canvas::Item. |
|
|
Sets the color |
|
|
Sets the size |
1.4.3-20050530