Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_current_outline_fetcher.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2013 Dmitry Kazakov <dimula73@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#ifndef __KIS_CURRENT_OUTLINE_FETCHER_H
8
#define __KIS_CURRENT_OUTLINE_FETCHER_H
9
10
#include <kritapaintop_export.h>
11
12
#include <QFlags>
13
#include <QScopedPointer>
14
#include <QPainterPath>
15
16
#include <
kis_paintop_settings.h
>
17
18
class
KisPaintInformation
;
19
class
KisOptimizedBrushOutline
;
20
21
22
23
class
PAINTOP_EXPORT
KisCurrentOutlineFetcher
24
{
25
public
:
26
enum
Option
{
27
NO_OPTION
,
28
SIZE_OPTION
,
29
ROTATION_OPTION
,
30
MIRROR_OPTION
,
31
SHARPNESS_OPTION
32
};
33
34
Q_DECLARE_FLAGS
(Options,
Option
);
35
36
public
:
37
KisCurrentOutlineFetcher
(Options optionsAvailable);
38
~KisCurrentOutlineFetcher
();
39
40
void
setDirty();
41
42
KisOptimizedBrushOutline
fetchOutline(
const
KisPaintInformation
&info,
43
const
KisPaintOpSettingsSP
settings,
44
const
KisOptimizedBrushOutline
&originalOutline,
45
const
KisPaintOpSettings::OutlineMode
&mode,
46
qreal alignForZoom,
47
qreal additionalScale = 1.0,
48
qreal additionalRotation = 0.0,
49
bool
tilt =
false
, qreal tiltcenterx = 1.0, qreal tiltcentery = 1.0)
const
;
50
51
52
private
:
53
Q_DISABLE_COPY
(
KisCurrentOutlineFetcher
);
54
struct
Private
;
55
const
QScopedPointer<Private>
d
;
56
};
57
58
Q_DECLARE_OPERATORS_FOR_FLAGS
(KisCurrentOutlineFetcher::Options);
59
60
#endif
/* __KIS_CURRENT_OUTLINE_FETCHER_H */
KisCurrentOutlineFetcher
Definition
kis_current_outline_fetcher.h:24
KisCurrentOutlineFetcher::Q_DECLARE_FLAGS
Q_DECLARE_FLAGS(Options, Option)
KisCurrentOutlineFetcher::Option
Option
Definition
kis_current_outline_fetcher.h:26
KisCurrentOutlineFetcher::MIRROR_OPTION
@ MIRROR_OPTION
Definition
kis_current_outline_fetcher.h:30
KisCurrentOutlineFetcher::NO_OPTION
@ NO_OPTION
Definition
kis_current_outline_fetcher.h:27
KisCurrentOutlineFetcher::ROTATION_OPTION
@ ROTATION_OPTION
Definition
kis_current_outline_fetcher.h:29
KisCurrentOutlineFetcher::SIZE_OPTION
@ SIZE_OPTION
Definition
kis_current_outline_fetcher.h:28
KisCurrentOutlineFetcher::d
const QScopedPointer< Private > d
Definition
kis_current_outline_fetcher.h:55
KisCurrentOutlineFetcher::Q_DISABLE_COPY
Q_DISABLE_COPY(KisCurrentOutlineFetcher)
KisOptimizedBrushOutline
Definition
KisOptimizedBrushOutline.h:27
KisPaintInformation
Definition
kis_paint_information.h:51
KisPinnedSharedPtr< KisPaintOpSettings >
Q_DECLARE_OPERATORS_FOR_FLAGS
Q_DECLARE_OPERATORS_FOR_FLAGS(KisCurrentOutlineFetcher::Options)
kis_paintop_settings.h
Private
Definition
SvgTransformParser.cpp:20
KisPaintOpSettings::OutlineMode
Definition
kis_paintop_settings.h:177
plugins
paintops
libpaintop
kis_current_outline_fetcher.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52