00001
00021
00022
00023
00024
00025 #ifndef __SYNFIG_RENDER_H
00026 #define __SYNFIG_RENDER_H
00027
00028
00029
00030 #include "target_scanline.h"
00031 #include "vector.h"
00032 #include "color.h"
00033 #include "renddesc.h"
00034 #include "general.h"
00035 #include "layer.h"
00036 #include "canvas.h"
00037 #include <ETL/handle>
00038
00039
00040
00041
00042
00043
00044
00045 namespace synfig {
00046
00048
00052 extern bool render(Context context, Target_Scanline::Handle target, const RendDesc &desc,ProgressCallback *);
00053
00054 extern bool parametric_render(Context context, Surface &surface, const RendDesc &desc,ProgressCallback *);
00055
00056 extern bool render_threaded( Context context,
00057 Target_Scanline::Handle target,
00058 const RendDesc &desc,
00059 ProgressCallback *callback,
00060 int threads);
00061
00062 };
00063
00064
00065
00066 #endif