Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_bspline_p.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KIS_BSPLINE_P_H
8#define __KIS_BSPLINE_P_H
9
11
12namespace KisBSplines {
13
15 switch (v) {
16 case Periodic:
17 return PERIODIC;
18 case Deriv1:
19 return DERIV1;
20 case Deriv2:
21 return DERIV2;
22 case Flat:
23 return FLAT;
24 case Natural:
25 return NATURAL;
26 case Antiperiodic:
27 return ANTIPERIODIC;
28 }
29
30 return NATURAL;
31 }
32
33}
34
35#endif /* __KIS_BSPLINE_P_H */
qreal v
bc_code
@ FLAT
@ NATURAL
@ DERIV1
@ ANTIPERIODIC
@ DERIV2
@ PERIODIC
bc_code convertBorderType(BorderCondition v)