Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_hatching_paintop_settings.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2010 Lukáš Tvrdý <lukast.dev@gmail.com>
3 * SPDX-FileCopyrightText: 2010 José Luis Vergara <pentalis@gmail.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7
8#ifndef KIS_HATCHING_PAINTOP_SETTINGS_H_
9#define KIS_HATCHING_PAINTOP_SETTINGS_H_
10
13
15
16#include <QScopedPointer>
17
18
20{
21
22public:
25
26 //Dialogs enabled
27 bool enabledcurveangle {false};
29 bool enabledcurveopacity {false};
31 bool enabledcurvesize {false};
33
34 //Hatching Options
35 double angle {0.0};
36 double separation {0.0};
37 double thickness {0.0};
38 double origin_x {0.0};
39 double origin_y {0.0};
40 bool nocrosshatching {false};
41 bool perpendicular {false};
42 bool minusthenplus {false};
43 bool plusthenminus {false};
44 bool moirepattern {false};
47
48 //Hatching Preferences
49 //bool trigonometryalgebra {false};
50 //bool scratchoff {false};
51 bool antialias {false};
52 bool subpixelprecision {false};
53 bool opaquebackground {false};
54
55 //Angle, Crosshatching, Separation and Thickness curves
56 double anglesensorvalue {0.0};
60
61 void initializeTwin(KisPaintOpSettingsSP convenienttwin) const;
62
64
65private:
66 Q_DISABLE_COPY(KisHatchingPaintOpSettings)
67
68 struct Private;
69 const QScopedPointer<Private> m_d;
70
71};
72
74
75#endif
const QScopedPointer< Private > m_d
KisHatchingPaintOpSettings(KisResourcesInterfaceSP resourcesInterface)
void initializeTwin(KisPaintOpSettingsSP convenienttwin) const
KisSharedPtr< KisHatchingPaintOpSettings > KisHatchingPaintOpSettingsSP
KisResourcesInterfaceSP resourcesInterface
QList< KisUniformPaintOpPropertyWSP > uniformProperties