Krita Source Code Documentation
Loading...
Searching...
No Matches
KisSmoothingOptions::Private Struct Reference

Public Member Functions

 Private (bool useSavedSmoothing)
 

Public Attributes

qreal delayDistance
 
bool finishStabilizedCurve
 
SmoothingType smoothingType
 
bool smoothnessDistanceKeepAspectRatio
 
qreal smoothnessDistanceMax
 
qreal smoothnessDistanceMin
 
bool smoothPressure
 
bool stabilizeSensors
 
qreal tailAggressiveness
 
bool useDelayDistance
 
bool useScalableDistance
 
KisSignalCompressor writeCompressor
 

Detailed Description

Definition at line 11 of file kis_smoothing_options.cpp.

Constructor & Destructor Documentation

◆ Private()

KisSmoothingOptions::Private::Private ( bool useSavedSmoothing)
inline

Definition at line 12 of file kis_smoothing_options.cpp.

14 {
15 KisConfig cfg(true);
16 smoothingType = (SmoothingType)cfg.lineSmoothingType(!useSavedSmoothing);
17 smoothnessDistanceMin = cfg.lineSmoothingDistanceMin(!useSavedSmoothing);
18 smoothnessDistanceMax = cfg.lineSmoothingDistanceMax(!useSavedSmoothing);
19 smoothnessDistanceKeepAspectRatio = cfg.lineSmoothingDistanceKeepAspectRatio(!useSavedSmoothing);
20 tailAggressiveness = cfg.lineSmoothingTailAggressiveness(!useSavedSmoothing);
21 smoothPressure = cfg.lineSmoothingSmoothPressure(!useSavedSmoothing);
22 useScalableDistance = cfg.lineSmoothingScalableDistance(!useSavedSmoothing);
23 delayDistance = cfg.lineSmoothingDelayDistance(!useSavedSmoothing);
24 useDelayDistance = cfg.lineSmoothingUseDelayDistance(!useSavedSmoothing);
25 finishStabilizedCurve = cfg.lineSmoothingFinishStabilizedCurve(!useSavedSmoothing);
26 stabilizeSensors = cfg.lineSmoothingStabilizeSensors(!useSavedSmoothing);
27 }

References delayDistance, finishStabilizedCurve, KisConfig::lineSmoothingDelayDistance(), KisConfig::lineSmoothingDistanceKeepAspectRatio(), KisConfig::lineSmoothingDistanceMax(), KisConfig::lineSmoothingDistanceMin(), KisConfig::lineSmoothingFinishStabilizedCurve(), KisConfig::lineSmoothingScalableDistance(), KisConfig::lineSmoothingSmoothPressure(), KisConfig::lineSmoothingStabilizeSensors(), KisConfig::lineSmoothingTailAggressiveness(), KisConfig::lineSmoothingType(), KisConfig::lineSmoothingUseDelayDistance(), smoothingType, smoothnessDistanceKeepAspectRatio, smoothnessDistanceMax, smoothnessDistanceMin, smoothPressure, stabilizeSensors, tailAggressiveness, useDelayDistance, and useScalableDistance.

Member Data Documentation

◆ delayDistance

qreal KisSmoothingOptions::Private::delayDistance

Definition at line 38 of file kis_smoothing_options.cpp.

◆ finishStabilizedCurve

bool KisSmoothingOptions::Private::finishStabilizedCurve

Definition at line 40 of file kis_smoothing_options.cpp.

◆ smoothingType

SmoothingType KisSmoothingOptions::Private::smoothingType

Definition at line 31 of file kis_smoothing_options.cpp.

◆ smoothnessDistanceKeepAspectRatio

bool KisSmoothingOptions::Private::smoothnessDistanceKeepAspectRatio

Definition at line 34 of file kis_smoothing_options.cpp.

◆ smoothnessDistanceMax

qreal KisSmoothingOptions::Private::smoothnessDistanceMax

Definition at line 33 of file kis_smoothing_options.cpp.

◆ smoothnessDistanceMin

qreal KisSmoothingOptions::Private::smoothnessDistanceMin

Definition at line 32 of file kis_smoothing_options.cpp.

◆ smoothPressure

bool KisSmoothingOptions::Private::smoothPressure

Definition at line 36 of file kis_smoothing_options.cpp.

◆ stabilizeSensors

bool KisSmoothingOptions::Private::stabilizeSensors

Definition at line 41 of file kis_smoothing_options.cpp.

◆ tailAggressiveness

qreal KisSmoothingOptions::Private::tailAggressiveness

Definition at line 35 of file kis_smoothing_options.cpp.

◆ useDelayDistance

bool KisSmoothingOptions::Private::useDelayDistance

Definition at line 39 of file kis_smoothing_options.cpp.

◆ useScalableDistance

bool KisSmoothingOptions::Private::useScalableDistance

Definition at line 37 of file kis_smoothing_options.cpp.

◆ writeCompressor

KisSignalCompressor KisSmoothingOptions::Private::writeCompressor

Definition at line 29 of file kis_smoothing_options.cpp.


The documentation for this struct was generated from the following file: