An ellipse with a movable center point. More...
#include <qcanvas.h>
Inherits QCanvasPolygonalItem.
Paints an ellipse or "pie segment" with a QBrush.
Constructs a 32x32 ellipse, centered at (0,0) on canvas.
Constructs a width by height pixel ellipse, centered at (0,0) on canvas.
Constructs a width by height pixel ellipse, centered at (0,0) on canvas, starting at angle startangle, extending for angle angle. startangle and angle are in 1/16 degrees.
Destructs the ellipse.
Returns the length angle in 1/16 degrees. Initially this will be 360*16 - ie. a solid ellipse.
See also setAngles() and angleStart().
Returns the start angle in 1/16 degrees. Initially this will be 0.
See also setAngles() and angleLength().
[virtual]
Reimplemented for internal reasons; the API is not affected.
Reimplemented from QCanvasPolygonalItem.
[virtual]
Reimplemented for internal reasons; the API is not affected.
Reimplemented from QCanvasItem.
[virtual protected]
Draws the ellipse, centered at x(), y().
Note that QCanvasPolygon does not support an outline (pen is always NoPen).
Reimplemented from QCanvasPolygonalItem.
Returns the height of the ellipse.
[virtual]
Returns 6.
See also QCanvasItem::rtti().
Reimplemented from QCanvasItem.
Sets the angles for the ellipse to start at start and continue for length units. Each unit is 1/16 of a degree. By default the ellipse will start at 0 and have length 360*16 - ie. a solid ellipse.
See also angleStart() and angleLength().
Sets the width and height of the ellipse.
Returns the width of the ellipse.
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
|