Pencil2D Animation
Download
Community
News
Docs
Contribute
Overview
Articles
Code
Class List
Class Index
Class Hierarchy
Class Members
File List
Loading...
Searching...
No Matches
core_lib
src
util
cameraeasingtype.h
1
/*
2
3
Pencil2D - Traditional Animation Software
4
Copyright (C) 2005-2007 Patrick Corrieri & Pascal Naidon
5
Copyright (C) 2012-2020 Matthew Chiawen Chang
6
7
This program is free software; you can redistribute it and/or
8
modify it under the terms of the GNU General Public License
9
as published by the Free Software Foundation; version 2 of the License.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
*/
17
#ifndef CAMERAEASINGTYPE_H
18
#define CAMERAEASINGTYPE_H
19
20
// new enums MUST be appended to the end!
21
enum class
CameraEasingType {
22
LINEAR,
23
INQUAD,
24
OUTQUAD,
25
INOUTQUAD,
26
OUTINQUAD,
27
INCUBIC,
28
OUTCUBIC,
29
INOUTCUBIC,
30
OUTINCUBIC,
31
INQUART,
32
OUTQUART,
33
INOUTQUART,
34
OUTINQUART,
35
INQUINT,
36
OUTQUINT,
37
INOUTQUINT,
38
OUTINQUINT,
39
INSINE,
40
OUTSINE,
41
INOUTSINE,
42
OUTINSINE,
43
INEXPO,
44
OUTEXPO,
45
INOUTEXPO,
46
OUTINEXPO,
47
INCIRC,
48
OUTCIRC,
49
INOUTCIRC,
50
OUTINCIRC,
51
INELASTIC,
52
OUTELASTIC,
53
INOUTELASTIC,
54
OUTINELASTIC,
55
INBACK,
56
OUTBACK,
57
INOUTBACK,
58
OUTINBACK,
59
INBOUNCE,
60
OUTBOUNCE,
61
INOUTBOUNCE,
62
OUTINBOUNCE
63
};
64
65
QString
getInterpolationText(CameraEasingType type);
66
67
#endif
// CAMERAEASINGTYPE_H
QString