A polygon with a movable reference point. More...
#include <qcanvas.h>
Inherits QCanvasPolygonalItem.
Paints a polygon in a QBrush.
Constructs a pointless polygon on canvas. You should call setPoints() before using it further.
Destructs the polygon.
[virtual]
Returns the vertices of the polygon translated by the x(), y() position.
See also setPoints() and points().
Reimplemented from QCanvasPolygonalItem.
[virtual protected]
Note that QCanvasPolygon does not support an outline (pen is always NoPen).
Reimplemented from QCanvasPolygonalItem.
[virtual]
Reimplemented for internal reasons; the API is not affected.
Reimplemented from QCanvasItem.
Returns the vertices of the polygon, not translated by the position.
See also setPoints() and areaPoints().
[virtual]
Returns 4.
See also QCanvasItem::rtti().
Reimplemented from QCanvasItem.
Sets the points of the polygon to be pa, which will be translated by x(), y() as the polygon is moved.
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit, copyright © 1995-2000 Trolltech, all rights reserved.
Copyright © 2000 Trolltech | Trademarks | Qt version 2.2.1
|