Engauge Digitizer 2
Loading...
Searching...
No Matches
GraphicsArcItem.h
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef GRAPHICS_ARCITEM_H
8#define GRAPHICS_ARCITEM_H
9
10#include <QGraphicsEllipseItem>
11
17class GraphicsArcItem : public QGraphicsEllipseItem
18{
19public:
21 GraphicsArcItem(double x,
22 double y,
23 double width,
24 double height,
26
28 GraphicsArcItem(const QRectF &rect,
30
32 virtual void paint (QPainter *painter,
35
36private:
38
39};
40
41#endif // GRAPHICS_ARCITEM_H
const int INNER_RADIUS_MIN
Draw an arc as an ellipse but without lines from the center to the start and end points.
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Paint without interior fill.