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

Public Member Functions

 Private ()
 
 Private (const Private &rhs)
 

Public Attributes

KisScalarKeyframe::InterpolationMode defaultInterpolationMode
 
qreal defaultValue
 
QSharedPointer< ScalarKeyframeLimitslimits
 

Detailed Description

Definition at line 142 of file kis_scalar_keyframe_channel.cpp.

Constructor & Destructor Documentation

◆ Private() [1/2]

KisScalarKeyframeChannel::Private::Private ( )
inline

◆ Private() [2/2]

KisScalarKeyframeChannel::Private::Private ( const Private & rhs)
inline

Definition at line 150 of file kis_scalar_keyframe_channel.cpp.

151 : defaultValue(rhs.defaultValue),
152 defaultInterpolationMode(rhs.defaultInterpolationMode)
153 {
154 if (rhs.limits) {
155 limits = toQShared(new ScalarKeyframeLimits(*rhs.limits));
156 }
157 }
QSharedPointer< T > toQShared(T *ptr)
QSharedPointer< ScalarKeyframeLimits > limits
This structure represents an optional limited range of values that be handled by KisScalarKeyframeCha...

References limits, and toQShared().

Member Data Documentation

◆ defaultInterpolationMode

KisScalarKeyframe::InterpolationMode KisScalarKeyframeChannel::Private::defaultInterpolationMode

Definition at line 160 of file kis_scalar_keyframe_channel.cpp.

◆ defaultValue

qreal KisScalarKeyframeChannel::Private::defaultValue

Definition at line 159 of file kis_scalar_keyframe_channel.cpp.

◆ limits

QSharedPointer<ScalarKeyframeLimits> KisScalarKeyframeChannel::Private::limits

Optional structure that can be added to a channel in order to limit its scalar values within a certain range.

Definition at line 164 of file kis_scalar_keyframe_channel.cpp.


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