Coverage Report

Created: 2026-10-28 07:09

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/qtsvg/src/svg/qsvganimate.cpp
Line
Count
Source
1
// Copyright (C) 2024 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
6
#include "qsvganimate_p.h"
7
8
QT_BEGIN_NAMESPACE
9
10
0
QSvgLinearEasing::~QSvgLinearEasing()
11
    = default;
12
13
QSvgAnimateNode::QSvgAnimateNode(QSvgNode *parent)
14
0
    : QSvgNode(parent)
15
0
    , m_end(0)
16
0
    , m_fill(Fill::Freeze)
17
0
    , m_additive(Additive::Replace)
18
0
{
19
0
    m_easing = std::make_unique<QSvgLinearEasing>();
20
0
}
21
22
0
QSvgAnimateNode::~QSvgAnimateNode()
23
    = default;
24
25
void QSvgAnimateNode::setRunningTime(int startMs, int durMs, int endMs, int by)
26
0
{
27
0
    Q_UNUSED(by)
28
0
    m_start = startMs;
29
0
    m_end = endMs;
30
0
    m_duration = durMs;
31
0
}
32
33
void QSvgAnimateNode::drawCommand(QPainter *p, QSvgExtraStates &states)
34
0
{
35
0
    Q_UNUSED(p)
36
0
    Q_UNUSED(states)
37
0
}
38
39
bool QSvgAnimateNode::shouldDrawNode(QPainter *p, QSvgExtraStates &states) const
40
0
{
41
0
    Q_UNUSED(p)
42
    Q_UNUSED(states)
43
0
    return false;
44
0
}
45
46
QSvgAnimateColor::~QSvgAnimateColor()
47
    = default;
48
49
50
QSvgAnimateTransform::~QSvgAnimateTransform()
51
    = default;
52
53
QT_END_NAMESPACE