Esempio n. 1
0
    bool moveKeyframe(KisImageSP image, KisNodeSP node, int srcTime, int dstTime) {
        QVector<FrameItem> srcFrames;
        srcFrames << FrameItem(node, srcTime);

        QVector<FrameItem> dstFrames;
        dstFrames << FrameItem(node, dstTime);

        return moveKeyframes(image, srcFrames, dstFrames);
    }
Esempio n. 2
0
 bool removeKeyframe(KisImageSP image, KisNodeSP node, int time) {
     QVector<FrameItem> frames;
     frames << FrameItem(node, time);
     return removeKeyframes(image, frames);
 }
Esempio n. 3
0
 bool removeKeyframe(KisImageSP image, KisNodeSP node, const QString &channel, int time) {
     QVector<FrameItem> frames;
     frames << FrameItem(node, channel, time);
     return removeKeyframes(image, frames);
 }