target_multi.h

Go to the documentation of this file.
00001 /* === S Y N F I G ========================================================= */
00021 /* ========================================================================= */
00022 
00023 /* === S T A R T =========================================================== */
00024 
00025 #ifndef __SYNFIG_TARGET_MULTI_H
00026 #define __SYNFIG_TARGET_MULTI_H
00027 
00028 /* === H E A D E R S ======================================================= */
00029 
00030 #include "target_scanline.h"
00031 
00032 /* === M A C R O S ========================================================= */
00033 
00034 /* === T Y P E D E F S ===================================================== */
00035 
00036 /* === C L A S S E S & S T R U C T S ======================================= */
00037 
00038 namespace synfig {
00039 
00044 class Target_Multi : public Target_Scanline
00045 {
00046     Target_Scanline::Handle a,b;
00047     Color *buffer_a;
00048     Color *buffer_b;
00049 public:
00050 
00051     Target_Multi(Target_Scanline::Handle a,Target_Scanline::Handle b);
00052     virtual ~Target_Multi();
00053     virtual bool add_frame(const synfig::Surface *surface);
00054     virtual bool start_frame(ProgressCallback *cb=NULL);
00055     virtual void end_frame();
00056     virtual Color * start_scanline(int scanline);
00057     virtual bool end_scanline();
00058     
00059     virtual void set_canvas(etl::handle<Canvas> c);
00060     virtual bool set_rend_desc(RendDesc *d);
00061     virtual bool init();
00062 }; // END of class Target_Multi
00063 
00064 }; // END of namespace synfig
00065 
00066 /* === E N D =============================================================== */
00067 
00068 #endif

Generated on Fri Jun 23 15:20:50 2006 for synfig by  doxygen 1.4.6