synfig-core
1.0.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
synfig
targetparam.h
Go to the documentation of this file.
1
/* === S Y N F I G ========================================================= */
21
/* ========================================================================= */
22
23
/* === S T A R T =========================================================== */
24
25
#ifndef __SYNFIG_TARGETPARAM_H
26
#define __SYNFIG_TARGETPARAM_H
27
28
#include <string>
29
30
/* === C L A S S E S & S T R U C T S ======================================= */
31
32
namespace
synfig {
33
34
struct
TargetParam
35
{
36
//Spritesheet render direction
37
enum
Direction
{
38
HR
= 0,
//Horizontal
39
VR
= 1
//Vertical
40
};
41
43
47
TargetParam
(
const
std::string
& Video_codec =
"none"
,
int
Bitrate = -1):
48
video_codec
(Video_codec),
bitrate
(Bitrate),
sequence_separator
(
"."
),
offset_x
(0),
offset_y
(0),
rows
(0),
columns
(0),
append
(true),
dir
(
HR
)
49
{ }
50
51
std::string
video_codec
;
52
int
bitrate
;
53
std::string
sequence_separator
;
54
//TODO: It is a spike. Need to separate this class.
55
int
offset_x
;
56
int
offset_y
;
57
int
rows
;
58
int
columns
;
59
bool
append
;
60
Direction
dir
;
61
};
62
63
};
// END of namespace synfig
64
65
/* === E N D =============================================================== */
66
67
#endif
68
Generated on Mon Nov 16 2015 15:33:52 for synfig-core by
1.8.1.2