|
Public Types |
typedef etl::handle< Canvas > | Handle |
typedef etl::loose_handle<
Canvas > | LooseHandle |
typedef etl::handle< const
Canvas > | ConstHandle |
typedef std::list< Handle > | Children |
Public Member Functions |
sigc::signal< void, String,
etl::handle< synfig::Layer > > & | signal_group_pair_added () |
sigc::signal< void, String,
etl::handle< synfig::Layer > > & | signal_group_pair_removed () |
sigc::signal< void, String > & | signal_group_added () |
| Group Added.
|
sigc::signal< void, String > & | signal_group_removed () |
| Group Removed.
|
sigc::signal< void, String > & | signal_group_changed () |
| Group Changed.
|
sigc::signal< void, int * > & | signal_layers_reordered () |
| Layers Reordered.
|
sigc::signal< void > & | signal_rend_desc_changed () |
| RendDesc Changed.
|
sigc::signal< void > & | signal_id_changed () |
| ID Changed.
|
sigc::signal< void > & | signal_file_name_changed () |
| File name Changed.
|
sigc::signal< void, String > & | signal_meta_data_changed () |
| Metadata Changed.
|
sigc::signal< void > & | signal_meta_data_changed (const String &key) |
| Metadata Changed.
|
sigc::signal< void, etl::handle<
ValueNode > > & | signal_value_node_changed () |
sigc::signal< void > & | signal_dirty () |
| Dirty.
|
sigc::signal< void, etl::handle<
ValueNode >, etl::handle<
ValueNode > > & | signal_value_node_child_added () |
sigc::signal< void, etl::handle<
ValueNode >, etl::handle<
ValueNode > > & | signal_value_node_child_removed () |
| ~Canvas () |
std::set< etl::handle< Layer > > | get_layers_in_group (const String &group) |
| Returns the set of layers in group.
|
std::set< String > | get_groups () const |
| Gets all the groups.
|
int | get_group_count () const |
| Gets the number of groups in this canvas.
|
void | rename_group (const String &old_name, const String &new_name) |
| Renames the given group.
|
bool | is_inline () const |
RendDesc & | rend_desc () |
| Returns a handle to the RendDesc for this Canvas.
|
const RendDesc & | rend_desc () const |
| Returns a handle to the RendDesc for this Canvas.
|
const String & | get_name () const |
| Gets the name of the canvas.
|
void | set_name (const String &x) |
| Sets the name of the canvas.
|
const String & | get_author () const |
| Gets the author of the canvas.
|
void | set_author (const String &x) |
| Sets the author of the canvas.
|
const String & | get_description () const |
| Gets the description of the canvas.
|
void | set_description (const String &x) |
| Sets the name of the canvas.
|
const String & | get_id () const |
| Gets the ID of the canvas.
|
void | set_id (const String &x) |
| Sets the ID of the canvas.
|
String | get_meta_data (const String &key) const |
| Returns the data string for the given meta data key.
|
std::list< String > | get_meta_data_keys () const |
| Returns a list of meta data keys.
|
void | set_meta_data (const String &key, const String &data) |
| Sets a meta data key to a specific string.
|
void | erase_meta_data (const String &key) |
| Removes a meta data key.
|
String | get_relative_id (etl::loose_handle< const Canvas > x) const |
String | _get_relative_id (etl::loose_handle< const Canvas > x) const |
bool | is_root () const |
| Returns true if the Canvas is a root Canvas. false otherwise.
|
LooseHandle | parent () const |
| Returns a handle to the parent Canvas.
|
LooseHandle | get_root () const |
std::list< Handle > & | children () |
| Returns a list of all child canvases in this canvas.
|
const std::list< Handle > & | children () const |
| Returns a list of all child canvases in this canvas.
|
void | set_time (Time t) const |
| Sets the time for all the layers in the canvas.
|
Time | get_time () const |
int | size () const |
| Returns the number of layers in the canvas.
|
void | clear () |
| Removes all the layers from the canvas.
|
bool | empty () const |
| Returns true if the canvas has no layers.
|
const ValueNodeList & | value_node_list () const |
| Returns a reference to the ValueNodeList for this Canvas.
|
KeyframeList & | keyframe_list () |
| Returns a reference to the KeyframeList for this Canvas.
|
const KeyframeList & | keyframe_list () const |
| Returns a reference to the KeyframeList for this Canvas.
|
ValueNode::Handle | find_value_node (const String &id) |
| Finds the ValueNode in the Canvas with the given id.
|
ValueNode::Handle | surefind_value_node (const String &id) |
ValueNode::ConstHandle | find_value_node (const String &id) const |
| Finds the ValueNode in the Canvas with the given id.
|
void | add_value_node (ValueNode::Handle x, const String &id) |
void | remove_value_node (ValueNode::Handle x) |
void | remove_value_node (const String &id) |
Handle | surefind_canvas (const String &id) |
| Finds a child Canvas in the Canvas with the given name.
|
Handle | find_canvas (const String &id) |
| Finds a child Canvas in the Canvas with the given id.
|
ConstHandle | find_canvas (const String &id) const |
| Finds a child Canvas in the Canvas with the given id.
|
String | get_file_path () const |
| Returns the file path from the file name.
|
void | set_file_name (const String &) |
| Sets the filename (with path).
|
String | get_file_name () const |
| Gets the filename (with path).
|
Handle | new_child_canvas () |
| Creates a new child canvas, and returns its handle.
|
Handle | new_child_canvas (const String &id) |
| Creates a new child canvas with an ID of , and returns its handle.
|
Handle | add_child_canvas (Handle child_canvas, const String &id) |
| Adds the given canvas as a child.
|
void | remove_child_canvas (Handle child_canvas) |
etl::handle< Layer > | find_layer (const Point &pos) |
int | get_depth (etl::handle< Layer >) const |
Context | get_context () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
etl::handle< Layer > & | back () |
void | push_back (etl::handle< Layer > x) |
void | push_front (etl::handle< Layer > x) |
void | push_back_simple (etl::handle< Layer > x) |
void | insert (iterator iter, etl::handle< Layer > x) |
void | erase (iterator iter) |
const etl::handle< Layer > & | back () const |
void | set_inline (LooseHandle parent) |
Handle | clone (const GUID &deriv_guid=GUID()) const |
Static Public Member Functions |
static Handle | create () |
static Handle | create_inline (Handle parent) |
Protected Member Functions |
| Canvas (const String &name) |
virtual void | on_changed () |
virtual void | get_times_vfunc (Node::time_set &set) const |
Friends |
void | optimize_layers (Context, Canvas::Handle) |