#include <target_tile.h>

Public Types | |
| typedef etl::handle < Target_Tile > | Handle |
| typedef etl::loose_handle < Target_Tile > | LooseHandle |
| typedef etl::handle < const Target_Tile > | ConstHandle |
Public Member Functions | |
| Target_Tile () | |
| virtual bool | render (ProgressCallback *cb=NULL) |
| Renders the canvas to the target. | |
| virtual int | next_tile (int &x, int &y) |
| Determines which tile needs to be rendered next. | |
| virtual int | next_frame (Time &time) |
| virtual bool | add_tile (const synfig::Surface &surface, int x, int y)=0 |
| Adds the tile at x , y contained in surface. | |
| virtual int | total_tiles () const |
| virtual bool | start_frame (ProgressCallback *cb=NULL)=0 |
| Marks the start of a frame. | |
| virtual void | end_frame ()=0 |
| Marks the end of a frame. | |
| void | set_threads (int x) |
| int | get_threads () const |
| void | set_tile_w (int w) |
| int | get_tile_w () const |
| void | set_tile_h (int h) |
| int | get_tile_h () const |
| bool | get_clipping () const |
| void | set_clipping (bool x) |
| typedef etl::handle<Target_Tile> synfig::Target_Tile::Handle |
Reimplemented from synfig::Target.
| typedef etl::loose_handle<Target_Tile> synfig::Target_Tile::LooseHandle |
Reimplemented from synfig::Target.
| typedef etl::handle<const Target_Tile> synfig::Target_Tile::ConstHandle |
Reimplemented from synfig::Target.
| Target_Tile::Target_Tile | ( | ) |
| bool synfig::Target_Tile::render | ( | ProgressCallback * | cb = NULL |
) | [virtual] |
| int Target_Tile::next_tile | ( | int & | x, | |
| int & | y | |||
| ) | [virtual] |
Determines which tile needs to be rendered next.
Most cases will not have to redefine this function. The default should be adequate in nearly all situations.
| int Target_Tile::next_frame | ( | Time & | time | ) | [virtual] |
| virtual bool synfig::Target_Tile::add_tile | ( | const synfig::Surface & | surface, | |
| int | x, | |||
| int | y | |||
| ) | [pure virtual] |
| virtual int synfig::Target_Tile::total_tiles | ( | ) | const [inline, virtual] |
| virtual bool synfig::Target_Tile::start_frame | ( | ProgressCallback * | cb = NULL |
) | [pure virtual] |
Marks the start of a frame.
true on success, false upon an error. Implemented in synfig::Target_Null_Tile.
| virtual void synfig::Target_Tile::end_frame | ( | ) | [pure virtual] |
| void synfig::Target_Tile::set_threads | ( | int | x | ) | [inline] |
| int synfig::Target_Tile::get_threads | ( | ) | const [inline] |
| void synfig::Target_Tile::set_tile_w | ( | int | w | ) | [inline] |
| int synfig::Target_Tile::get_tile_w | ( | ) | const [inline] |
| void synfig::Target_Tile::set_tile_h | ( | int | h | ) | [inline] |
| int synfig::Target_Tile::get_tile_h | ( | ) | const [inline] |
| bool synfig::Target_Tile::get_clipping | ( | ) | const [inline] |
| void synfig::Target_Tile::set_clipping | ( | bool | x | ) | [inline] |
1.5.3