GraphicsArcItem Class Reference

Draw an arc as an ellipse but without lines from the center to the start and end points. More...

#include <GraphicsArcItem.h>

List of all members.

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.

Detailed Description

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.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends

Generated on 4 Nov 2016 for Engauge Digitizer by  doxygen 1.6.1