#include <layer_pastecanvas.h>
Public Member Functions | |
virtual void | on_canvas_set () |
void | set_do_not_muck_with_time (bool x=true) |
etl::handle < synfig::Canvas > | get_sub_canvas () const |
void | set_sub_canvas (etl::handle< synfig::Canvas > x) |
Real | get_zoom () const |
Time | get_time_offset () const |
Point | get_origin () const |
Layer_PasteCanvas () | |
virtual | ~Layer_PasteCanvas () |
virtual String | get_local_name () const |
Returns a string containing the localized name of the Layer. | |
virtual bool | set_param (const String ¶m, const synfig::ValueBase &value) |
Sets the parameter described by param to value. | |
virtual ValueBase | get_param (const String ¶m) const |
Get the value of the specified parameter. | |
virtual Color | get_color (Context context, const Point &pos) const |
Gets the color of the Canvas at pos. | |
virtual void | set_time (Context context, Time time) const |
Sets the time for the selected Layer and those under it. | |
virtual bool | accelerated_render (Context context, Surface *surface, int quality, const RendDesc &renddesc, ProgressCallback *cb) const |
Renders the Canvas to the given Surface in an accelerated manner. | |
virtual Vocab | get_param_vocab () const |
Gets the paramater vocabulary. | |
virtual synfig::Rect | get_bounding_rect () const |
virtual synfig::Layer::Handle | hit_check (synfig::Context context, const synfig::Point &point) const |
Checks to see if a part of the layer is directly under point. | |
Protected Member Functions | |
virtual void | get_times_vfunc (Node::time_set &set) const |
Called to figure out the animation time information. |
Layer_PasteCanvas::Layer_PasteCanvas | ( | ) |
Layer_PasteCanvas::~Layer_PasteCanvas | ( | ) | [virtual] |
void Layer_PasteCanvas::on_canvas_set | ( | ) | [virtual] |
Reimplemented from synfig::Layer.
void synfig::Layer_PasteCanvas::set_do_not_muck_with_time | ( | bool | x = true |
) | [inline] |
etl::handle<synfig::Canvas> synfig::Layer_PasteCanvas::get_sub_canvas | ( | ) | const [inline] |
void Layer_PasteCanvas::set_sub_canvas | ( | etl::handle< synfig::Canvas > | x | ) |
Real synfig::Layer_PasteCanvas::get_zoom | ( | ) | const [inline] |
Time synfig::Layer_PasteCanvas::get_time_offset | ( | ) | const [inline] |
Point synfig::Layer_PasteCanvas::get_origin | ( | ) | const [inline] |
String Layer_PasteCanvas::get_local_name | ( | ) | const [virtual] |
bool Layer_PasteCanvas::set_param | ( | const String & | param, | |
const synfig::ValueBase & | value | |||
) | [virtual] |
Sets the parameter described by param to value.
param | The name of the parameter to set | |
value | What the parameter is to be set to. |
true
on success, false
upon rejection or failure. If it returns false
, then the Layer is assumed to remain unchanged. const String ¶m
Reimplemented from synfig::Layer_Composite.
Get the value of the specified parameter.
const String &
Reimplemented from synfig::Layer_Composite.
Gets the color of the Canvas at pos.
context | Context iterator refering to next Layer. | |
pos | Point which indicates where the Color should come from |
Reimplemented from synfig::Layer.
Sets the time for the selected Layer and those under it.
Reimplemented from synfig::Layer.
bool Layer_PasteCanvas::accelerated_render | ( | Context | context, | |
Surface * | surface, | |||
int | quality, | |||
const RendDesc & | renddesc, | |||
ProgressCallback * | cb | |||
) | const [virtual] |
Renders the Canvas to the given Surface in an accelerated manner.
context | Context iterator refering to next Layer. | |
surface | Pointer to Surface to render to. | |
quality | The requested quality-level to render at. | |
renddesc | The associated RendDesc. | |
cb | Pointer to callback object. May be NULL if there is no callback. |
true
on success, false
on failure Reimplemented from synfig::Layer_Composite.
Layer::Vocab Layer_PasteCanvas::get_param_vocab | ( | ) | const [virtual] |
Rect Layer_PasteCanvas::get_bounding_rect | ( | ) | const [virtual] |
Reimplemented from synfig::Layer.
synfig::Layer::Handle Layer_PasteCanvas::hit_check | ( | synfig::Context | context, | |
const synfig::Point & | point | |||
) | const [virtual] |
Checks to see if a part of the layer is directly under point.
Reimplemented from synfig::Layer.
void Layer_PasteCanvas::get_times_vfunc | ( | Node::time_set & | set | ) | const [protected, virtual] |