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