synfig-core
1.0.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
modules
mod_bmp
trgt_bmp.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_TRGT_BMP_H
26
#define __SYNFIG_TRGT_BMP_H
27
28
/* === H E A D E R S ======================================================= */
29
30
#include <
synfig/target_scanline.h
>
31
#include <
synfig/string.h
>
32
#include <
synfig/targetparam.h
>
33
#include <cstdio>
34
35
/* === M A C R O S ========================================================= */
36
37
/* === T Y P E D E F S ===================================================== */
38
39
/* === C L A S S E S & S T R U C T S ======================================= */
40
41
class
bmp
:
public
synfig::Target_Scanline
42
{
43
SYNFIG_TARGET_MODULE_EXT
44
private
:
45
int
rowspan;
46
int
imagecount;
47
bool
multi_image;
48
FILE *file;
49
synfig::String
filename;
50
unsigned
char
*buffer;
51
synfig::Color
*color_buffer;
52
synfig::PixelFormat
pf;
53
synfig::String
sequence_separator;
54
55
public
:
56
bmp
(
const
char
*filename,
const
synfig::TargetParam
&
/* params */
);
57
virtual
~bmp
();
58
59
virtual
bool
set_rend_desc
(
synfig::RendDesc
*
desc
);
60
virtual
bool
start_frame
(
synfig::ProgressCallback
*cb);
61
virtual
void
end_frame
();
62
virtual
synfig::Color
*
start_scanline
(
int
scanline);
63
virtual
bool
end_scanline
();
64
65
};
66
67
/* === E N D =============================================================== */
68
69
#endif
Generated on Mon Nov 16 2015 15:33:52 for synfig-core by
1.8.1.2