mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Fix bug N°202 : Wrong bounding rect for primitive arc.
https://qelectrotech.org/bugtracker/view.php?id=202
This commit is contained in:
@@ -39,6 +39,7 @@ class QetGraphicsHandlerUtility
|
||||
static QVector <QPointF> pointsForArc (const QRectF &rect, qreal start_angle, qreal span_angle);
|
||||
static QRectF rectForPosAtIndex (const QRectF &old_rect, const QPointF &pos, int index);
|
||||
static QRectF mirrorRectForPosAtIndex (const QRectF &old_rect, const QPointF &pos, int index);
|
||||
static QRectF rectForArc (const QRectF &rect, qreal start_angle, qreal span_angle);
|
||||
static QLineF lineForPosAtIndex (const QLineF &old_line, const QPointF &pos, int index);
|
||||
static QPolygonF polygonForInsertPoint(const QPolygonF &old_polygon, bool closed, const QPointF &pos);
|
||||
static QVector <QPointF> pointForRadiusRect (const QRectF &rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize);
|
||||
|
||||
Reference in New Issue
Block a user