Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_speed_smoother.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2015 Dmitry Kazakov <dimula73@gmail.com>
3
*
4
* SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#ifndef __KIS_SPEED_SMOOTHER_H
8
#define __KIS_SPEED_SMOOTHER_H
9
10
#include <QScopedPointer>
11
12
class
QPointF;
13
14
15
class
KisSpeedSmoother
16
{
17
public
:
18
KisSpeedSmoother
();
19
~KisSpeedSmoother
();
20
21
qreal
lastSpeed
()
const
;
22
qreal
getNextSpeed
(
const
QPointF &pt, ulong timestamp);
23
void
clear
();
24
25
void
updateSettings
();
26
27
private
:
28
qreal
getNextSpeedImpl
(
const
QPointF &pt, qreal time);
29
private
:
30
struct
Private
;
31
const
QScopedPointer<Private>
m_d
;
32
};
33
34
#endif
/* __KIS_SPEED_SMOOTHER_H */
KisSpeedSmoother
Definition
kis_speed_smoother.h:16
KisSpeedSmoother::getNextSpeed
qreal getNextSpeed(const QPointF &pt, ulong timestamp)
Definition
kis_speed_smoother.cpp:81
KisSpeedSmoother::KisSpeedSmoother
KisSpeedSmoother()
Definition
kis_speed_smoother.cpp:66
KisSpeedSmoother::getNextSpeedImpl
qreal getNextSpeedImpl(const QPointF &pt, qreal time)
Definition
kis_speed_smoother.cpp:107
KisSpeedSmoother::clear
void clear()
Definition
kis_speed_smoother.cpp:90
KisSpeedSmoother::updateSettings
void updateSettings()
Definition
kis_speed_smoother.cpp:99
KisSpeedSmoother::m_d
const QScopedPointer< Private > m_d
Definition
kis_speed_smoother.h:31
KisSpeedSmoother::~KisSpeedSmoother
~KisSpeedSmoother()
Definition
kis_speed_smoother.cpp:72
KisSpeedSmoother::lastSpeed
qreal lastSpeed() const
Definition
kis_speed_smoother.cpp:76
Private
Definition
SvgTransformParser.cpp:20
libs
ui
tool
kis_speed_smoother.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52