mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-03 11:00:53 +01:00
Bug Fix: Extra line in polygon of elements and arcs and ellipses added.
Arcs and ellipses are approximated with circles at present. Also, element rotation is not supported right now. Needs to be added. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2733 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -88,7 +88,9 @@ class Element : public QetGraphicsItem {
|
||||
/// @return the list of bounding rectangles for circles items in this element
|
||||
virtual QList<QRectF *> circles() const = 0;
|
||||
/// @return the list of polygons in this element
|
||||
virtual QList<QVector<QPointF> *> polygons() const = 0;
|
||||
virtual QList<QVector<QPointF> *> polygons() const = 0;
|
||||
/// @return the list of arcs in this element
|
||||
virtual QList<QVector<qreal> *> arcs() const = 0;
|
||||
/// @return the current number of terminals of this element
|
||||
virtual int terminalsCount() const = 0;
|
||||
/// @return the minimum number of terminals for this element
|
||||
|
||||
Reference in New Issue
Block a user