Krita Source Code Documentation
Loading...
Searching...
No Matches
MyPaintStandardOptionData.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef MYPAINTSTANDARDOPTIONDATA_H
7#define MYPAINTSTANDARDOPTIONDATA_H
8
11
12
17
22
27
29{
31 : MyPaintCurveOptionData(KoID("radius_by_random", i18n("Radius by Random")),
32 false, true, 0.0, 1.50)
33 {
34 }
35
38 if (qAbs(strengthValue) > 0.05) {
39 l.limitations << KoID("Radius by Random", i18nc("PaintOp instant preview limitation", "Radius by Random, consider disabling Instant Preview"));
40 }
41 return l;
42 }
43};
44
46{
48 : MyPaintCurveOptionData(KoID("anti_aliasing", i18n("Anti Aliasing")),
49 false, true, 0.0, 1.0)
50 {
51 }
52};
53
55{
57 : MyPaintCurveOptionData(KoID("elliptical_dab_angle",
58 i18n("Elliptical Dab Angle")),
59 false, true, 0.0, 180.0)
60 {
61 }
62};
63
65{
67 : MyPaintCurveOptionData(KoID("elliptical_dab_ratio", i18n("Elliptical Dab Ratio")),
68 false, true, 1.0, 10.0)
69 {
70 }
71};
72
73
75{
77 : MyPaintCurveOptionData(KoID("direction_filter", i18n("Direction Filter")),
78 false, true, 0.0, 10.0)
79 {
80 }
81};
82
84{
86 : MyPaintCurveOptionData(KoID("snap_to_pixel", i18n("Snap To Pixel")),
87 false, true, 0.0, 10.0)
88 {
89 }
90};
91
92
94{
96 : MyPaintCurveOptionData(KoID("pressure_gain_log", i18n("Pressure Gain")),
97 false, true, -1.8, 1.8)
98 {
99 }
100};
101
102
104{
106 : MyPaintCurveOptionData(KoID("change_color_h", i18n("Change Color H")),
107 false, true, -2.0, 2.0)
108 {
109 }
110};
111
113{
115 : MyPaintCurveOptionData(KoID("change_color_l", i18n("Change Color L")),
116 false, true, -2.0, 2.0)
117 {
118 }
119};
120
122{
124 : MyPaintCurveOptionData(KoID("change_color_v", i18n("Change Color V")),
125 false, true, -2.0, 2.0)
126 {
127 }
128};
129
131{
133 : MyPaintCurveOptionData(KoID("change_color_hsl_s", i18n("Change Color HSL S")),
134 false, true, -2.0, 2.0)
135 {
136 }
137};
138
140{
142 : MyPaintCurveOptionData(KoID("change_color_hsv_s", i18n("Change Color HSV S")),
143 false, true, -2.0, 2.0)
144 {
145 }
146};
147
149{
151 : MyPaintCurveOptionData(KoID("colorize", i18n("Colorize")),
152 false, true, 0.0, 1.0)
153 {
154 }
155};
156
158{
160 : MyPaintCurveOptionData(KoID("posterize", i18n("Posterize")),
161 false, true, 0.0, 1.0)
162 {
163 }
164};
165
167{
169 : MyPaintCurveOptionData(KoID("posterize_num", i18n("Posterization Levels")),
170 false, true, 0.0, 1.28)
171 {
172 }
173};
174
176{
178 : MyPaintCurveOptionData(KoID("speed1_gamma", i18n("Fine Speed Gamma")),
179 false, true, -8.0, 8.0)
180 {
181 }
182};
183
185{
187 : MyPaintCurveOptionData(KoID("speed2_gamma", i18n("Gross Speed Gamma")),
188 false, true, -8.0, 8.0)
189 {
190 }
191};
192
194{
196 : MyPaintCurveOptionData(KoID("speed1_slowness", i18n("Fine Speed Slowness")),
197 false, true, -8.0, 8.0)
198 {
199 }
200};
201
203{
205 : MyPaintCurveOptionData(KoID("speed2_slowness", i18n("Gross Speed Slowness")),
206 false, true, -8.0, 8.0)
207 {
208 }
209};
210
212{
214 : MyPaintCurveOptionData(KoID("offset_by_speed", i18n("Offset By Speed")),
215 false, true, -3.0, 3.0)
216 {
217 }
218};
219
221{
223 : MyPaintCurveOptionData(KoID("offset_by_speed_slowness", i18n("Offset by Speed Filter")),
224 false, true, 0.0, 15.0)
225 {
226 }
227};
228
230{
232 : MyPaintCurveOptionData(KoID("offset_by_random", i18n("Offset By Random")),
233 false, true, -3.0, 3.0)
234 {
235 }
236
239 if (qAbs(strengthValue) > 0.05) {
240 l.limitations << KoID("Offset by Random", i18nc("PaintOp instant preview limitation", "Offset by Random, consider disabling Instant Preview"));
241 }
242 return l;
243 }
244
245};
246
248{
250 : MyPaintCurveOptionData(KoID("dabs_per_basic_radius", i18n("Dabs Per Basic Radius")),
251 false, true, 0.0, 6.0)
252 {
253 }
254};
255
257{
259 : MyPaintCurveOptionData(KoID("dabs_per_actual_radius", i18n("Dabs Per Actual Radius")),
260 false, true, 0.0, 6.0)
261 {
262 }
263};
264
266{
268 : MyPaintCurveOptionData(KoID("dabs_per_second", i18n("Dabs per Second")),
269 false, true, 0.0, 80.0)
270 {
271 }
272};
273
274
276{
278 : MyPaintCurveOptionData(KoID("opaque_linearize", i18n("Opaque Linearize")),
279 false, true, 0.0, 3.0)
280 {
281 }
282};
283
285{
287 : MyPaintCurveOptionData(KoID("opaque_multiply", i18n("Opaque Multiply")),
288 false, true, 0.0, 2.0)
289 {
290 }
291};
292
294{
296 : MyPaintCurveOptionData(KoID("slow_tracking_per_dab", i18n("Slow tracking per dab")),
297 false, true, 0.0, 10.0)
298 {
299 }
300};
301
303{
305 : MyPaintCurveOptionData(KoID("slow_tracking", i18n("Slow Tracking")),
306 false, true, 0.0, 10.0)
307 {
308 }
309};
310
312{
314 : MyPaintCurveOptionData(KoID("tracking_noise", i18n("Tracking Noise")),
315 false, true, 0.0, 12.0)
316 {
317 }
318};
319
321{
323 : MyPaintCurveOptionData(KoID("smudge", i18n("Smudge")),
324 false, true, 0.0, 1.0)
325 {
326 }
327};
328
330{
332 : MyPaintCurveOptionData(KoID("smudge_length", i18n("Smudge Length")),
333 false, true, 0.0, 1.0)
334 {
335 }
336};
337
339{
341 : MyPaintCurveOptionData(KoID("smudge_radius_log", i18n("Smudge Radius Log")),
342 false, true, -1.6, 1.6)
343 {
344 }
345};
346
348{
350 : MyPaintCurveOptionData(KoID("smudge_length_log", i18n("Smudge Length Multiplier")),
351 false, true, 0.0, 20)
352 {
353 }
354};
355
357{
359 : MyPaintCurveOptionData(KoID("smudge_bucket", i18n("Smudge Bucket")),
360 false, true, 0.0, 255.0)
361 {
362 }
363};
364
366{
368 : MyPaintCurveOptionData(KoID("smudge_transparency", i18n("Smudge Transparency")),
369 false, true, -1.0, 1.0)
370 {
371 }
372};
373
375{
377 : MyPaintCurveOptionData(KoID("stroke_duration_logarithmic", i18n("Stroke Duration log")),
378 false, true, -1.0, 7.0)
379 {
380 }
381};
382
384{
386 : MyPaintCurveOptionData(KoID("stroke_holdtime", i18n("Stroke Holdtime")),
387 false, true, 0.0, 10.0)
388 {
389 }
390};
391
393{
395 : MyPaintCurveOptionData(KoID("stroke_threshold", i18n("Stroke Threshold")),
396 false, true, 0.0, 0.5)
397 {
398 }
399};
400
402{
404 : MyPaintCurveOptionData(KoID("custom_input", i18n("Custom Input")),
405 false, true, -5.0, 5.0)
406 {
407 }
408};
409
411{
413 : MyPaintCurveOptionData(KoID("custom_input_slowness", i18n("Custom Input Slowness")),
414 false, true, 0.0, 10.0)
415 {
416 }
417};
418
419#endif // MYPAINTSTANDARDOPTIONDATA_H
Definition KoID.h:30
KisPaintopLodLimitations lodLimitations() const
KisPaintopLodLimitations lodLimitations() const