Definition at line 1309 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 1332 of file kis_layer_utils.cpp.
1332 {
1333 Q_FOREACH(
KisNodeSP srcNode, srcNodes) {
1336 if (!keyframe.isNull() && keyframe->colorLabel() != 0) {
1337 dstKeyframe->setColorLabel(keyframe->colorLabel());
1338 return;
1339 }
1340 }
1341 }
1342
1343 dstKeyframe->setColorLabel(0);
1344 }
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 1315 of file kis_layer_utils.cpp.
1315 {
1317
1320
1323 }
1324
1327 }
1328
1330 }
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: