synfig-core
1.0.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
synfig
savecanvas.h
Go to the documentation of this file.
1
/* === S Y N F I G ========================================================= */
22
/* ========================================================================= */
23
24
/* === S T A R T =========================================================== */
25
26
#ifndef __SYNFIG_SAVECANVAS_H
27
#define __SYNFIG_SAVECANVAS_H
28
29
/* === H E A D E R S ======================================================= */
30
31
#include <list>
32
#include "
string.h
"
33
#include "
canvas.h
"
34
#include "
releases.h
"
35
#include "
layer.h
"
36
37
/* === M A C R O S ========================================================= */
38
39
/* === T Y P E D E F S ===================================================== */
40
41
/* === C L A S S E S & S T R U C T S ======================================= */
42
43
namespace
synfig {
44
45
/* === E X T E R N S ======================================================= */
46
47
typedef
bool (*
save_canvas_external_file_callback_t
)(
void
*user_data,
Layer::ConstHandle
layer,
const
std::string
¶m_name,
std::string
&filename);
48
49
51
52
bool
save_canvas
(
const
FileSystem::Identifier
&identifier,
Canvas::ConstHandle
canvas,
bool
safe =
true
);
53
55
56
String
canvas_to_string
(
Canvas::ConstHandle
canvas);
57
58
void
set_save_canvas_external_file_callback
(
save_canvas_external_file_callback_t
callback,
void
*user_data);
59
60
void
set_file_version
(
ReleaseVersion
version);
61
ReleaseVersion
get_file_version
();
62
63
};
// END of namespace synfig
64
65
/* === E N D =============================================================== */
66
67
#endif
Generated on Mon Nov 16 2015 15:33:49 for synfig-core by
1.8.1.2