Krita Source Code Documentation
Loading...
Searching...
No Matches
KisSpinBoxSplineUnitConverter.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Agata Cacko <cacko.azh@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KIS_SPIN_BOX_SPLINE_UNITS_CONVERTER_H
8#define KIS_SPIN_BOX_SPLINE_UNITS_CONVERTER_H
9
10#include <kritaui_export.h>
11
12
13
26{
27
28public:
29 double io2sp(int x, int min, int max);
30 int sp2io(double x, int min, int max);
31
32};
33
34
35
36#endif // KIS_SPIN_BOX_SPLINE_UNITS_CONVERTER_H