synfig-core
1.0.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
modules
mod_png
trgt_cairo_png.h
Go to the documentation of this file.
1
/* === S Y N F I G ========================================================= */
26
/* === S T A R T =========================================================== */
27
28
#ifndef __SYNFIG_TRGT_CAIRO_PNG_H
29
#define __SYNFIG_TRGT_CAIRO_PNG_H
30
31
/* === H E A D E R S ======================================================= */
32
33
#include <
synfig/target_cairo.h
>
34
#include <
synfig/surface.h
>
35
#include <
synfig/string.h
>
36
#include <
synfig/targetparam.h
>
37
#include <cairo.h>
38
#include <cstdio>
39
40
/* === M A C R O S ========================================================= */
41
42
/* === T Y P E D E F S ===================================================== */
43
44
/* === C L A S S E S & S T R U C T S ======================================= */
45
46
class
cairo_png_trgt
:
public
synfig::Target_Cairo
47
{
48
SYNFIG_TARGET_MODULE_EXT
49
private
:
50
//int w,h;
51
52
bool
multi_image;
53
int
imagecount;
54
synfig::String
filename;
55
synfig::String
base_filename;
56
57
synfig::String
sequence_separator;
58
public
:
59
cairo_png_trgt
(
const
char
*filename,
const
synfig::TargetParam
&
/* params */
);
60
virtual
~cairo_png_trgt
();
61
62
virtual
bool
set_rend_desc
(
synfig::RendDesc
*
desc
);
63
64
virtual
bool
obtain_surface
(cairo_surface_t *&surface);
65
virtual
bool
put_surface
(cairo_surface_t *surface,
synfig::ProgressCallback
*cb=NULL);
66
};
67
68
/* === E N D =============================================================== */
69
70
#endif
Generated on Mon Nov 16 2015 15:33:52 for synfig-core by
1.8.1.2