blob: b5e0ab547a08ff715b1c385fc60563a1fcdedfae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#include "qsvganimate_p.h"
QT_BEGIN_NAMESPACE
QSvgAnimateNode::QSvgAnimateNode(QSvgNode *parent)
: QSvgNode(parent)
, m_end(0)
, m_fill(Fill::Freeze)
, m_additive(Additive::Replace)
{
}
void QSvgAnimateNode::setRunningTime(int startMs, int durMs, int endMs, int by)
{
Q_UNUSED(by)
m_start = startMs;
m_end = endMs;
m_duration = durMs;
}
void QSvgAnimateNode::drawCommand(QPainter *p, QSvgExtraStates &states)
{
Q_UNUSED(p)
Q_UNUSED(states)
}
bool QSvgAnimateNode::shouldDrawNode(QPainter *p, QSvgExtraStates &states) const
{
Q_UNUSED(p)
Q_UNUSED(states)
return false;
}
QT_END_NAMESPACE
|