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 () | |
Default constructor. This needs, at a minimum, a later call to setRect. | |
GraphicsArcItem (double x, double y, double width, double height, QGraphicsItem *parent=0) | |
Constructor with individual coordinates. Also sets transform origin point. | |
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.
Use within GraphicsArcItemRelay when there is a possibility that geometry updates would be done while an event handler is executing
This class probably requires the circumscribed rectangle used to construct the ellipse to be normalized to prevent QTBUG-80937
Definition at line 19 of file GraphicsArcItem.h.
GraphicsArcItem::GraphicsArcItem | ( | ) |
Default constructor. This needs, at a minimum, a later call to setRect.
Definition at line 12 of file GraphicsArcItem.cpp.
GraphicsArcItem::GraphicsArcItem | ( | double | x, |
double | y, | ||
double | width, | ||
double | height, | ||
QGraphicsItem * | parent = 0 ) |
Constructor with individual coordinates. Also sets transform origin point.
Definition at line 17 of file GraphicsArcItem.cpp.
GraphicsArcItem::GraphicsArcItem | ( | const QRectF & | rect, |
QGraphicsItem * | parent = 0 ) |
Constructor with coordinates specified as rectangle.
Definition at line 30 of file GraphicsArcItem.cpp.
|
virtual |
Paint without interior fill.
Definition at line 37 of file GraphicsArcItem.cpp.