|
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 QRectF | boundingRect () const |
| QGraphicsEllipseItem ignored transformation when computing bounding rectangle, although it should so we must make boundingRect smarter. | |
| 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.
Definition at line 13 of file GraphicsArcItem.h.
| GraphicsArcItem::GraphicsArcItem | ( | double | x, |
| double | y, | ||
| double | width, | ||
| double | height, | ||
| QGraphicsItem * | parent = 0 |
||
| ) |
Constructor with individual coordinates.
Definition at line 12 of file GraphicsArcItem.cpp.
| GraphicsArcItem::GraphicsArcItem | ( | const QRectF & | rect, |
| QGraphicsItem * | parent = 0 |
||
| ) |
Constructor with coordinates specified as rectangle.
Definition at line 25 of file GraphicsArcItem.cpp.
|
virtual |
QGraphicsEllipseItem ignored transformation when computing bounding rectangle, although it should so we must make boundingRect smarter.
Definition at line 32 of file GraphicsArcItem.cpp.
|
virtual |
Paint without interior fill.
Definition at line 43 of file GraphicsArcItem.cpp.