Definition at line 1304 of file kis_layer_utils.cpp.
◆ AddNewFrame() [1/4]
| KisLayerUtils::AddNewFrame::AddNewFrame |
( |
KisNodeSP | node, |
|
|
int | frame ) |
|
inline |
◆ AddNewFrame() [2/4]
◆ AddNewFrame() [3/4]
◆ AddNewFrame() [4/4]
◆ applyKeyframeColorLabel()
Definition at line 1323 of file kis_layer_utils.cpp.
1323 {
1324 Q_FOREACH(
KisNodeSP srcNode, srcNodes) {
1327 if (!keyframe.isNull() && keyframe->colorLabel() != 0) {
1328 dstKeyframe->setColorLabel(keyframe->colorLabel());
1329 return;
1330 }
1331 }
1332 }
1333
1334 dstKeyframe->setColorLabel(0);
1335 }
KisKeyframeChannel stores and manages KisKeyframes. Maps units of time to virtual keyframe values....
KisKeyframeSP keyframeAt(int time) const
Get a keyframe at specified time. Used primarily when the value of a given keyframe is needed.
QMap< QString, KisKeyframeChannel * > keyframeChannels
References KisKeyframeChannel::keyframeAt(), KisBaseNode::keyframeChannels, and m_frame.
◆ populateChildCommands()
| void KisLayerUtils::AddNewFrame::populateChildCommands |
( |
| ) |
|
|
inlineoverridevirtual |
Implements KisCommandUtils::AggregateCommand.
Definition at line 1310 of file kis_layer_utils.cpp.
1310 {
1315
1318 }
1319
1321 }
KUndo2Command(KUndo2Command *parent=0)
void addKeyframe(int time, KUndo2Command *parentUndoCmd=nullptr)
Add a new keyframe to the channel at the specified time.
KisKeyframeChannel * getKeyframeChannel(const QString &id, bool create)
void addCommand(KUndo2Command *cmd)
void applyKeyframeColorLabel(KisKeyframeSP dstKeyframe, KisNodeList srcNodes)
References KisCommandUtils::AggregateCommand::addCommand(), KisKeyframeChannel::addKeyframe(), applyKeyframeColorLabel(), KisBaseNode::getKeyframeChannel(), KisKeyframeChannel::keyframeAt(), KUndo2Command::KUndo2Command(), m_frame, m_mergeInfo, m_node, m_sampledNodes, and KisKeyframeChannel::Raster.
◆ m_frame
| int KisLayerUtils::AddNewFrame::m_frame |
|
private |
◆ m_mergeInfo
◆ m_node
◆ m_sampledNodes
The documentation for this struct was generated from the following file: