Definition at line 1335 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 1354 of file kis_layer_utils.cpp.
1354 {
1355 Q_FOREACH(
KisNodeSP srcNode, srcNodes) {
1358 if (!keyframe.isNull() && keyframe->colorLabel() != 0) {
1359 dstKeyframe->setColorLabel(keyframe->colorLabel());
1360 return;
1361 }
1362 }
1363 }
1364
1365 dstKeyframe->setColorLabel(0);
1366 }
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 1341 of file kis_layer_utils.cpp.
1341 {
1346
1349 }
1350
1352 }
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: