Engauge Digitizer
2
Loading...
Searching...
No Matches
Graphics
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_ARC_ITEM_H
8
#define GRAPHICS_ARC_ITEM_H
9
10
#include <QGraphicsEllipseItem>
11
19
class
GraphicsArcItem
:
public
QGraphicsEllipseItem
20
{
21
public
:
23
GraphicsArcItem
();
24
26
GraphicsArcItem
(
double
x,
27
double
y,
28
double
width,
29
double
height,
30
QGraphicsItem *parent = 0);
31
33
GraphicsArcItem
(
const
QRectF &rect,
34
QGraphicsItem *parent = 0);
35
37
virtual
void
paint
(QPainter *painter,
38
const
QStyleOptionGraphicsItem *option,
39
QWidget *widget);
40
41
};
42
43
#endif
// GRAPHICS_ARCITEM_H
GraphicsArcItem::paint
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Paint without interior fill.
Definition
GraphicsArcItem.cpp:37
GraphicsArcItem::GraphicsArcItem
GraphicsArcItem()
Default constructor. This needs, at a minimum, a later call to setRect.
Definition
GraphicsArcItem.cpp:12
Generated on
for Engauge Digitizer by
1.14.0