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_ARCITEM_H
8
#define GRAPHICS_ARCITEM_H
9
10
#include <QGraphicsEllipseItem>
11
17
class
GraphicsArcItem
:
public
QGraphicsEllipseItem
18
{
19
public
:
21
GraphicsArcItem
(
double
x,
22
double
y,
23
double
width,
24
double
height
,
25
QGraphicsItem
*
parent
= 0);
26
28
GraphicsArcItem
(
const
QRectF
&rect,
29
QGraphicsItem
*
parent
= 0);
30
32
virtual
void
paint
(
QPainter
*
painter
,
33
const
QStyleOptionGraphicsItem
*
option
,
34
QWidget
*
widget
);
35
36
private
:
37
GraphicsArcItem
();
38
39
};
40
41
#endif
// GRAPHICS_ARCITEM_H
INNER_RADIUS_MIN
const int INNER_RADIUS_MIN
Definition
DlgSettingsDigitizeCurve.cpp:35
GraphicsArcItem
Draw an arc as an ellipse but without lines from the center to the start and end points.
Definition
GraphicsArcItem.h:18
GraphicsArcItem::paint
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Paint without interior fill.
Definition
GraphicsArcItem.cpp:32
Generated on Wed Aug 3 2022 00:00:00 for Engauge Digitizer by
1.10.0