![]() ![]() |
A lines on a canvas. More...
#include <qcanvas.h>
Inherits QCanvasPolygonalItem.
Currently, only width==1 lines are supported.
Constructs a line from (0,0) to (0,0) on canvas.
See also: setPoints().
Destroys the line, removing it from its canvas.
[virtual protected]
Reimplemented for internal reasons; the API is not affected.
Note that the area defined by the line is somewhat thicker than the line that is actually drawn.
Reimplemented from QCanvasPolygonalItem.
[virtual protected]
Reimplemented for internal reasons; the API is not affected.
Reimplemented from QCanvasPolygonalItem.
Returns the end of the line.
See also: setPoints() and startPoint().
[virtual]
Returns 7.
See also: QCanvasItem::rtti().
Reimplemented from QCanvasItem.
[virtual]
Reimplemented for internal reasons; the API is not affected.
Reimplemented from QCanvasPolygonalItem.
Sets the ends of the line to (x1,\a y1) and (x2,\a y2).
Returns the start of the line.
See also: setPoints() and endPoint().
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.0-beta2
|