Engauge Digitizer
2
Loading...
Searching...
No Matches
Ghosts
GhostEllipse.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 GHOST_ELLIPSE_H
8
#define GHOST_ELLIPSE_H
9
10
#include <QBrush>
11
#include <QPen>
12
#include <QRectF>
13
15
class
GhostEllipse
16
{
17
public
:
19
GhostEllipse
(
const
QRectF &
rect
,
20
const
QPen &
pen
,
21
const
QBrush &
brush
);
22
~GhostEllipse
();
23
25
GhostEllipse
(
const
GhostEllipse
&other);
26
28
GhostEllipse
&
operator=
(
const
GhostEllipse
&other);
29
31
QBrush
brush
()
const
;
32
34
QPen
pen
()
const
;
35
37
QRectF
rect
()
const
;
38
39
private
:
40
GhostEllipse
();
41
42
QRectF m_rect;
43
QPen m_pen;
44
QBrush m_brush;
45
};
46
47
#endif
// GHOST_ELLIPSE_H
GhostEllipse::rect
QRectF rect() const
Get method for bounding rectangle.
Definition
GhostEllipse.cpp:48
GhostEllipse::GhostEllipse
GhostEllipse(const QRectF &rect, const QPen &pen, const QBrush &brush)
Initial constructor.
Definition
GhostEllipse.cpp:9
GhostEllipse::pen
QPen pen() const
Get method for pen.
Definition
GhostEllipse.cpp:43
GhostEllipse::operator=
GhostEllipse & operator=(const GhostEllipse &other)
Assignment operator.
Definition
GhostEllipse.cpp:25
GhostEllipse::~GhostEllipse
~GhostEllipse()
Definition
GhostEllipse.cpp:34
GhostEllipse::brush
QBrush brush() const
Get method for brush.
Definition
GhostEllipse.cpp:38
Generated on
for Engauge Digitizer by
1.14.0