#include <target_multi.h>
Public Member Functions | |
Target_Multi (Target_Scanline::Handle a, Target_Scanline::Handle b) | |
virtual | ~Target_Multi () |
virtual bool | add_frame (const synfig::Surface *surface) |
virtual bool | start_frame (ProgressCallback *cb=NULL) |
Marks the start of a frame. | |
virtual void | end_frame () |
Marks the end of a frame. | |
virtual Color * | start_scanline (int scanline) |
Marks the start of a scanline. | |
virtual bool | end_scanline () |
Marks the end of a scanline. | |
virtual void | set_canvas (etl::handle< Canvas > c) |
virtual bool | set_rend_desc (RendDesc *d) |
Sets the RendDesc for the Target to desc. | |
virtual bool | init () |
Target_Multi::Target_Multi | ( | Target_Scanline::Handle | a, | |
Target_Scanline::Handle | b | |||
) |
Target_Multi::~Target_Multi | ( | ) | [virtual] |
bool Target_Multi::add_frame | ( | const synfig::Surface * | surface | ) | [virtual] |
Reimplemented from synfig::Target_Scanline.
bool Target_Multi::start_frame | ( | ProgressCallback * | cb = NULL |
) | [virtual] |
Marks the start of a frame.
true
on success, false
upon an error. Implements synfig::Target_Scanline.
void Target_Multi::end_frame | ( | ) | [virtual] |
Color * Target_Multi::start_scanline | ( | int | scanline | ) | [virtual] |
Marks the start of a scanline.
scanline | Which scanline is going to be rendered. |
Implements synfig::Target_Scanline.
bool Target_Multi::end_scanline | ( | ) | [virtual] |
Marks the end of a scanline.
Takes the data that was put at the address returned to by start_scanline() and does whatever it is supose to do with it.
true
on success, false
on failure. Implements synfig::Target_Scanline.
void Target_Multi::set_canvas | ( | etl::handle< Canvas > | c | ) | [virtual] |
Reimplemented from synfig::Target.
bool Target_Multi::set_rend_desc | ( | RendDesc * | d | ) | [virtual] |
Sets the RendDesc for the Target to desc.
If there are any parts of desc that the render target is not capable of doing, the render target will adjust desc to fit its needs.
Reimplemented from synfig::Target.
bool Target_Multi::init | ( | ) | [virtual] |
Reimplemented from synfig::Target.