Engauge Digitizer
2
|
Draw an arc as an ellipse but without lines from the center to the start and end points. More...
#include <GraphicsArcItem.h>
Public Member Functions | |
GraphicsArcItem (double x, double y, double width, double height, QGraphicsItem *parent=0) | |
Constructor with individual coordinates. | |
GraphicsArcItem (const QRectF &rect, QGraphicsItem *parent=0) | |
Constructor with coordinates specified as rectangle. | |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
Paint without interior fill. | |
Draw an arc as an ellipse but without lines from the center to the start and end points.
Originally this class overrode QGraphicsEllipseItem::boundingRect and called QGraphicsScene::boundingRect. However, that led to an infinite loop since QGraphicsScene::boundingRect looped back around to QGraphicsEllipseItem::boundingRect
Definition at line 17 of file GraphicsArcItem.h.