|
goocanvasmm
1.90.10
|

Public Member Functions | |
| virtual | ~ItemModel () |
| GooCanvasItemModel* | gobj () |
| Provides access to the underlying C GObject. More... | |
| const GooCanvasItemModel* | gobj () const |
| Provides access to the underlying C GObject. More... | |
| int | get_n_children () const |
| Gets the number of children of the container. More... | |
| Glib::RefPtr< ItemModel > | get_child (int child_num) |
| Gets the child at the given stack position. More... | |
| Glib::RefPtr< const ItemModel > | get_child (int child_num) const |
| Gets the child at the given stack position. More... | |
| void | get_child_property (const Glib::RefPtr< ItemModel >& child, const Glib::ustring& property_name, Glib::ValueBase& value) const |
| Gets a child property of child. More... | |
| void | set_child_property (const Glib::RefPtr< ItemModel >& child, const Glib::ustring& property_name, const Glib::ValueBase& value) |
| Sets a child property of child. More... | |
| void | add_child (const Glib::RefPtr< ItemModel >& child, int position) |
| Adds a child at the given stack position. More... | |
| void | add_child (const Glib::RefPtr< ItemModel >& child) |
| void | move_child (int old_position, int new_position) |
| Moves a child to a new stack position. More... | |
| void | remove_child (int child_num) |
| Removes the child at the given position. More... | |
| int | find_child (const Glib::RefPtr< ItemModel >& child) |
| Attempts to find the given child with the container's stack. More... | |
| Glib::RefPtr< ItemModel > | get_parent () |
| Gets the parent of the given model. More... | |
| Glib::RefPtr< const ItemModel > | get_parent () const |
| Gets the parent of the given model. More... | |
| void | set_parent (const Glib::RefPtr< ItemModel >& parent) |
| This function is only intended to be used when implementing new canvas item models (specifically container models such as Goo::CanvasGroupModel). More... | |
| void | remove () |
| Removes a model from its parent. More... | |
| bool | is_container () const |
| Tests to see if the given item model is a container. More... | |
| void | raise (const Glib::RefPtr< ItemModel >& above) |
| Raises a model in the stacking order. More... | |
| void | raise () |
| Raise the item to the top of the stack. More... | |
| void | lower (const Glib::RefPtr< ItemModel >& below) |
| Lowers a model in the stacking order. More... | |
| void | lower () |
| Lower the item to the bottom of the stack. More... | |
| bool | get_transform (Cairo::Matrix*transform) |
| Gets the transformation matrix of an item model. More... | |
| void | set_transform (const Cairo::Matrix*transform) |
| Sets the transformation matrix of an item model. More... | |
| void | set_simple_transform (double x, double y, double scale, double rotation) |
| A convenience function to set the item model's transformation matrix. More... | |
| bool | get_simple_transform (double& x, double& y, double&scale, double& rotation) const |
| This function can be used to get the position, scale and rotation of an item model, providing that the model has a simple transformation matrix (e.g. set with set_simple_transform(), or using a combination of simple translate, scale and rotate operations). More... | |
| void | translate (double tx, double ty) |
| Translates the origin of the model's coordinate system by the given amounts. More... | |
| void | scale (double sx, double sy) |
| Scales the model's coordinate system by the given amounts. More... | |
| void | rotate (double degrees, double cx, double cy) |
| Rotates the model's coordinate system by the given amount, about the given origin. More... | |
| void | skew_x (double degrees, double cx, double cy) |
| Skews the model's coordinate system along the x axis by the given amount, about the given origin. More... | |
| void | skew_y (double degrees, double cx, double cy) |
| Skews the model's coordinate system along the y axis by the given amount, about the given origin. More... | |
| Glib::RefPtr< Style > | get_style () |
| Gets the model's style. More... | |
| Glib::RefPtr< const Style > | get_style () const |
| Gets the model's style. More... | |
| void | set_style (const Glib::RefPtr< Style >& style) |
| Sets the model's style, by copying the properties from the given style. More... | |
| void | animate (double x, double y, double scale, double degrees, bool absolute, int duration, int step_time, AnimateType animate_type) |
| Animates a model from its current position to the given offsets, scale and rotation. More... | |
| void | stop_animation () |
| Stops any current animation for the given model, leaving it at its current position. More... | |
| Glib::SignalProxy1< void, int > | signal_child_added () |
| Glib::SignalProxy1< void, int > | signal_child_removed () |
| Glib::SignalProxy2< void, int, int > | signal_child_moved () |
| Glib::SignalProxy1< void, bool > | signal_changed () |
| Glib::SignalProxy1< void, GParamSpec* > | signal_child_notify () |
| Glib::SignalProxy1< void, bool > | signal_animation_finished () |
| Glib::PropertyProxy< Glib::RefPtr< ItemModel > > | property_parent () |
| The parent item model. More... | |
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr< ItemModel > > | property_parent () const |
| The parent item model. More... | |
| Glib::PropertyProxy< bool > | property_can_focus () |
| If the item can take the keyboard focus. More... | |
| Glib::PropertyProxy_ReadOnly< bool > | property_can_focus () const |
| If the item can take the keyboard focus. More... | |
| Glib::PropertyProxy< Cairo::Matrix* > | property_transform () |
| The transformation matrix of the item. More... | |
| Glib::PropertyProxy_ReadOnly< Cairo::Matrix* > | property_transform () const |
| The transformation matrix of the item. More... | |
| Glib::PropertyProxy< Glib::ustring > | property_title () |
| A short context-rich description of the item for use by assistive technologies. More... | |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_title () const |
| A short context-rich description of the item for use by assistive technologies. More... | |
| Glib::PropertyProxy< Glib::ustring > | property_description () |
| A description of the item for use by assistive technologies. More... | |
| Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_description () const |
| A description of the item for use by assistive technologies. More... | |
| Glib::PropertyProxy< PointerEvents > | property_pointer_events () |
| Specifies when the item receives pointer events. More... | |
| Glib::PropertyProxy_ReadOnly< PointerEvents > | property_pointer_events () const |
| Specifies when the item receives pointer events. More... | |
| Glib::PropertyProxy< ItemVisibility > | property_visibility () |
| When the canvas item is visible. More... | |
| Glib::PropertyProxy_ReadOnly< ItemVisibility > | property_visibility () const |
| When the canvas item is visible. More... | |
| Glib::PropertyProxy< double > | property_visibility_threshold () |
| The scale threshold at which the item becomes visible. More... | |
| Glib::PropertyProxy_ReadOnly< double > | property_visibility_threshold () const |
| The scale threshold at which the item becomes visible. More... | |
| Glib::PropertyProxy< double > | property_x () |
| The x coordinate of the left side of the item. More... | |
| Glib::PropertyProxy_ReadOnly< double > | property_x () const |
| The x coordinate of the left side of the item. More... | |
| Glib::PropertyProxy< double > | property_y () |
| The y coordinate of the top of the item. More... | |
| Glib::PropertyProxy_ReadOnly< double > | property_y () const |
| The y coordinate of the top of the item. More... | |
| Glib::PropertyProxy< double > | property_width () |
| The width of the item. More... | |
| Glib::PropertyProxy_ReadOnly< double > | property_width () const |
| The width of the item. More... | |
| Glib::PropertyProxy< double > | property_height () |
| The height of the item. More... | |
| Glib::PropertyProxy_ReadOnly< double > | property_height () const |
| The height of the item. More... | |
Public Member Functions inherited from Glib::Interface | |
| Interface () | |
| Interface (const Glib::Interface_Class &interface_class) | |
| Interface (GObject *castitem) | |
| virtual | ~Interface () |
| Interface (const Interface &)=delete | |
| Interface & | operator= (const Interface &)=delete |
| GObject * | gobj () |
| const GObject * | gobj () const |
Public Member Functions inherited from Glib::ObjectBase | |
| ObjectBase (const ObjectBase &)=delete | |
| ObjectBase & | operator= (const ObjectBase &)=delete |
| void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) |
| void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const |
| void | set_property (const Glib::ustring &property_name, const PropertyType &value) |
| void | get_property (const Glib::ustring &property_name, PropertyType &value) const |
| void | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
| sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
| void | freeze_notify () |
| void | thaw_notify () |
| virtual void | reference () const |
| virtual void | unreference () const |
| GObject * | gobj () |
| const GObject * | gobj () const |
| GObject * | gobj_copy () const |
Public Member Functions inherited from sigc::trackable | |
| trackable () | |
| trackable (const trackable &src) | |
| ~trackable () | |
| void | add_destroy_notify_callback (void *data, func_destroy_notify func) const |
| void | notify_callbacks () |
| trackable & | operator= (const trackable &src) |
| void | remove_destroy_notify_callback (void *data) const |
Static Public Member Functions | |
| static void | add_interface (GType gtype_implementer) |
| static GType | get_type () |
| Get the GType for this class, for use with the underlying GObject type system. More... | |
Protected Member Functions | |
| ItemModel () | |
| You should derive from this class to use it. More... | |
| virtual int | get_n_children_vfunc () const |
| virtual Glib::RefPtr< ItemModel > | get_child_vfunc (int child_num) const |
| virtual void | add_child_vfunc (const Glib::RefPtr< ItemModel >& child, int position) |
| virtual void | move_child_vfunc (int old_position, int ne_position) |
| virtual void | remove_child_vfunc (int child_num) |
| virtual void | get_child_property_vfunc (const Glib::RefPtr< ItemModel >& child, guint property_id, Glib::ValueBase& value, GParamSpec* pspec) const |
| virtual void | set_child_property_vfunc (const Glib::RefPtr< ItemModel >& child, guint property_id, const Glib::ValueBase& value, GParamSpec* pspec) |
| virtual Glib::RefPtr< ItemModel > | get_parent_vfunc () const |
| virtual void | set_parent_vfunc (const Glib::RefPtr< ItemModel >& parent) |
| virtual Glib::RefPtr< Item > | create_item_vfunc (Canvas* canvas) |
| virtual bool | get_transform_vfunc (Cairo::Matrix*transform) const |
| virtual void | set_transform_vfunc (const Cairo::Matrix*transform) |
| virtual Glib::RefPtr< Style > | get_style_vfunc () const |
| virtual void | set_style_vfunc (const Glib::RefPtr< Style >& style) |
| virtual void | on_child_added (int child_num) |
| This is a default handler for the signal signal_child_added(). More... | |
| virtual void | on_child_removed (int child_num) |
| This is a default handler for the signal signal_child_removed(). More... | |
| virtual void | on_child_moved (int old_child_num, int new_child_num) |
| This is a default handler for the signal signal_child_moved(). More... | |
| virtual void | on_changed (bool recompute_bounds) |
| This is a default handler for the signal signal_changed(). More... | |
| virtual void | on_child_notify (GParamSpec* pspec) |
| This is a default handler for the signal signal_child_notify(). More... | |
| virtual void | on_animation_finished (bool stopped) |
| This is a default handler for the signal signal_animation_finished(). More... | |
Protected Member Functions inherited from Glib::ObjectBase | |
| ObjectBase () | |
| ObjectBase (const char *custom_type_name) | |
| ObjectBase (const std::type_info &custom_type_info) | |
| virtual | ~ObjectBase ()=0 |
| void | initialize (GObject *castitem) |
Related Functions | |
(Note that these are not member functions.) | |
| Glib::RefPtr< Goocanvas::ItemModel > | wrap (GooCanvasItemModel* object, bool take_copy=false) |
| A Glib::wrap() method for this object. More... | |
Additional Inherited Members | |
Public Types inherited from sigc::trackable | |
| typedef internal::func_destroy_notify | func_destroy_notify |
|
protected |
You should derive from this class to use it.
|
virtual |
| void Goocanvas::ItemModel::add_child | ( | const Glib::RefPtr< ItemModel >& | child, |
| int | position | ||
| ) |
Adds a child at the given stack position.
| child | The child to add. |
| position | The position of the child, or -1 to place it last (at the top of the stacking order). |
| void Goocanvas::ItemModel::add_child | ( | const Glib::RefPtr< ItemModel >& | child | ) |
|
protectedvirtual |
|
static |
| void Goocanvas::ItemModel::animate | ( | double | x, |
| double | y, | ||
| double | scale, | ||
| double | degrees, | ||
| bool | absolute, | ||
| int | duration, | ||
| int | step_time, | ||
| AnimateType | animate_type | ||
| ) |
Animates a model from its current position to the given offsets, scale and rotation.
| x | The final x coordinate. |
| y | The final y coordinate. |
| scale | The final scale. |
| degrees | The final rotation. This can be negative to rotate anticlockwise, and can also be greater than 360 to rotate a number of times. |
| absolute | If the x, y, scale and degrees values are absolute, or relative to the current transform. Note that absolute animations only work if the model currently has a simple transform. If the model has a shear or some other complicated transform it may result in strange animations. |
| duration | The duration of the animation, in milliseconds (1/1000ths of a second). |
| step_time | The time between each animation step, in milliseconds. |
| animate_type | Specifies what happens when the animation finishes. |
|
protectedvirtual |
| int Goocanvas::ItemModel::find_child | ( | const Glib::RefPtr< ItemModel >& | child | ) |
Attempts to find the given child with the container's stack.
| child | The child to find. |
| Glib::RefPtr<ItemModel> Goocanvas::ItemModel::get_child | ( | int | child_num | ) |
Gets the child at the given stack position.
| child_num | The position of a child in the container's stack. |
0 if child_num is out of range. | Glib::RefPtr<const ItemModel> Goocanvas::ItemModel::get_child | ( | int | child_num | ) | const |
Gets the child at the given stack position.
| child_num | The position of a child in the container's stack. |
0 if child_num is out of range. | void Goocanvas::ItemModel::get_child_property | ( | const Glib::RefPtr< ItemModel >& | child, |
| const Glib::ustring & | property_name, | ||
| Glib::ValueBase & | value | ||
| ) | const |
Gets a child property of child.
| child | A child Goo::CanvasItemModel. |
| property_name | The name of the child property to get. |
| value | A location to return the value. |
|
protectedvirtual |
|
protectedvirtual |
| int Goocanvas::ItemModel::get_n_children | ( | ) | const |
Gets the number of children of the container.
|
protectedvirtual |
| Glib::RefPtr<ItemModel> Goocanvas::ItemModel::get_parent | ( | ) |
Gets the parent of the given model.
0 if the model has no parent. | Glib::RefPtr<const ItemModel> Goocanvas::ItemModel::get_parent | ( | ) | const |
Gets the parent of the given model.
0 if the model has no parent.
|
protectedvirtual |
| bool Goocanvas::ItemModel::get_simple_transform | ( | double & | x, |
| double & | y, | ||
| double & | scale, | ||
| double & | rotation | ||
| ) | const |
This function can be used to get the position, scale and rotation of an item model, providing that the model has a simple transformation matrix (e.g. set with set_simple_transform(), or using a combination of simple translate, scale and rotate operations).
If the model has a complex transformation matrix the results will be incorrect.
| x | Returns the x coordinate of the origin of the model's coordinate space. |
| y | Returns the y coordinate of the origin of the model's coordinate space. |
| scale | Returns the scale of the model. |
| rotation | Returns the clockwise rotation of the model, in degrees (0-360). |
true if a transform is set. | Glib::RefPtr<Style> Goocanvas::ItemModel::get_style | ( | ) |
Gets the model's style.
If the model doesn't have its own style it will return its parent's style.
| Glib::RefPtr<const Style> Goocanvas::ItemModel::get_style | ( | ) | const |
Gets the model's style.
If the model doesn't have its own style it will return its parent's style.
|
protectedvirtual |
| bool Goocanvas::ItemModel::get_transform | ( | Cairo::Matrix * | transform | ) |
Gets the transformation matrix of an item model.
| transform | The place to store the transform. |
true if a transform is set.
|
protectedvirtual |
|
static |
Get the GType for this class, for use with the underlying GObject type system.
|
inline |
Provides access to the underlying C GObject.
|
inline |
Provides access to the underlying C GObject.
| bool Goocanvas::ItemModel::is_container | ( | ) | const |
Tests to see if the given item model is a container.
true if the item model is a container. | void Goocanvas::ItemModel::lower | ( | const Glib::RefPtr< ItemModel >& | below | ) |
Lowers a model in the stacking order.
| below | The item model to lower model below, or 0 to lower model to the bottom of the stack. |
| void Goocanvas::ItemModel::lower | ( | ) |
Lower the item to the bottom of the stack.
| void Goocanvas::ItemModel::move_child | ( | int | old_position, |
| int | new_position | ||
| ) |
Moves a child to a new stack position.
| old_position | The current position of the child. |
| new_position | The new position of the child. |
|
protectedvirtual |
|
protectedvirtual |
This is a default handler for the signal signal_animation_finished().
|
protectedvirtual |
This is a default handler for the signal signal_changed().
|
protectedvirtual |
This is a default handler for the signal signal_child_added().
|
protectedvirtual |
This is a default handler for the signal signal_child_moved().
|
protectedvirtual |
This is a default handler for the signal signal_child_notify().
|
protectedvirtual |
This is a default handler for the signal signal_child_removed().
| Glib::PropertyProxy< bool > Goocanvas::ItemModel::property_can_focus | ( | ) |
If the item can take the keyboard focus.
| Glib::PropertyProxy_ReadOnly< bool > Goocanvas::ItemModel::property_can_focus | ( | ) | const |
If the item can take the keyboard focus.
| Glib::PropertyProxy< Glib::ustring > Goocanvas::ItemModel::property_description | ( | ) |
A description of the item for use by assistive technologies.
| Glib::PropertyProxy_ReadOnly< Glib::ustring > Goocanvas::ItemModel::property_description | ( | ) | const |
A description of the item for use by assistive technologies.
| Glib::PropertyProxy< double > Goocanvas::ItemModel::property_height | ( | ) |
The height of the item.
| Glib::PropertyProxy_ReadOnly< double > Goocanvas::ItemModel::property_height | ( | ) | const |
The height of the item.
| Glib::PropertyProxy< Glib::RefPtr<ItemModel> > Goocanvas::ItemModel::property_parent | ( | ) |
The parent item model.
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr<ItemModel> > Goocanvas::ItemModel::property_parent | ( | ) | const |
The parent item model.
| Glib::PropertyProxy< PointerEvents > Goocanvas::ItemModel::property_pointer_events | ( | ) |
Specifies when the item receives pointer events.
| Glib::PropertyProxy_ReadOnly< PointerEvents > Goocanvas::ItemModel::property_pointer_events | ( | ) | const |
Specifies when the item receives pointer events.
| Glib::PropertyProxy< Glib::ustring > Goocanvas::ItemModel::property_title | ( | ) |
A short context-rich description of the item for use by assistive technologies.
| Glib::PropertyProxy_ReadOnly< Glib::ustring > Goocanvas::ItemModel::property_title | ( | ) | const |
A short context-rich description of the item for use by assistive technologies.
| Glib::PropertyProxy< Cairo::Matrix* > Goocanvas::ItemModel::property_transform | ( | ) |
The transformation matrix of the item.
| Glib::PropertyProxy_ReadOnly< Cairo::Matrix* > Goocanvas::ItemModel::property_transform | ( | ) | const |
The transformation matrix of the item.
| Glib::PropertyProxy< ItemVisibility > Goocanvas::ItemModel::property_visibility | ( | ) |
When the canvas item is visible.
| Glib::PropertyProxy_ReadOnly< ItemVisibility > Goocanvas::ItemModel::property_visibility | ( | ) | const |
When the canvas item is visible.
| Glib::PropertyProxy< double > Goocanvas::ItemModel::property_visibility_threshold | ( | ) |
The scale threshold at which the item becomes visible.
| Glib::PropertyProxy_ReadOnly< double > Goocanvas::ItemModel::property_visibility_threshold | ( | ) | const |
The scale threshold at which the item becomes visible.
| Glib::PropertyProxy< double > Goocanvas::ItemModel::property_width | ( | ) |
The width of the item.
| Glib::PropertyProxy_ReadOnly< double > Goocanvas::ItemModel::property_width | ( | ) | const |
The width of the item.
| Glib::PropertyProxy< double > Goocanvas::ItemModel::property_x | ( | ) |
The x coordinate of the left side of the item.
| Glib::PropertyProxy_ReadOnly< double > Goocanvas::ItemModel::property_x | ( | ) | const |
The x coordinate of the left side of the item.
| Glib::PropertyProxy< double > Goocanvas::ItemModel::property_y | ( | ) |
The y coordinate of the top of the item.
| Glib::PropertyProxy_ReadOnly< double > Goocanvas::ItemModel::property_y | ( | ) | const |
The y coordinate of the top of the item.
| void Goocanvas::ItemModel::raise | ( | const Glib::RefPtr< ItemModel >& | above | ) |
Raises a model in the stacking order.
| above | The item model to raise model above, or 0 to raise model to the top of the stack. |
| void Goocanvas::ItemModel::raise | ( | ) |
Raise the item to the top of the stack.
| void Goocanvas::ItemModel::remove | ( | ) |
Removes a model from its parent.
If the model is in a canvas it will be removed.
This would normally also result in the model being freed.
| void Goocanvas::ItemModel::remove_child | ( | int | child_num | ) |
Removes the child at the given position.
| child_num | The position of the child to remove. |
|
protectedvirtual |
| void Goocanvas::ItemModel::rotate | ( | double | degrees, |
| double | cx, | ||
| double | cy | ||
| ) |
Rotates the model's coordinate system by the given amount, about the given origin.
| degrees | The clockwise angle of rotation. |
| cx | The x coordinate of the origin of the rotation. |
| cy | The y coordinate of the origin of the rotation. |
| void Goocanvas::ItemModel::scale | ( | double | sx, |
| double | sy | ||
| ) |
Scales the model's coordinate system by the given amounts.
| sx | The amount to scale the horizontal axis. |
| sy | The amount to scale the vertical axis. |
| void Goocanvas::ItemModel::set_child_property | ( | const Glib::RefPtr< ItemModel >& | child, |
| const Glib::ustring & | property_name, | ||
| const Glib::ValueBase & | value | ||
| ) |
Sets a child property of child.
| child | A child Goo::CanvasItemModel. |
| property_name | The name of the child property to set. |
| value | The value to set the property to. |
|
protectedvirtual |
| void Goocanvas::ItemModel::set_parent | ( | const Glib::RefPtr< ItemModel >& | parent | ) |
This function is only intended to be used when implementing new canvas item models (specifically container models such as Goo::CanvasGroupModel).
It sets the parent of the child model. <!–PARAMETERS–> <note><para> This function cannot be used to add a model to a group or to change the parent of a model. To do that use the Goo::CanvasItemModel::property_parent() property. </para></note>
| parent | The new parent item model. |
|
protectedvirtual |
| void Goocanvas::ItemModel::set_simple_transform | ( | double | x, |
| double | y, | ||
| double | scale, | ||
| double | rotation | ||
| ) |
A convenience function to set the item model's transformation matrix.
| x | The x coordinate of the origin of the model's coordinate space. |
| y | The y coordinate of the origin of the model's coordinate space. |
| scale | The scale of the model. |
| rotation | The clockwise rotation of the model, in degrees. |
| void Goocanvas::ItemModel::set_style | ( | const Glib::RefPtr< Style >& | style | ) |
Sets the model's style, by copying the properties from the given style.
| style | A style. |
|
protectedvirtual |
| void Goocanvas::ItemModel::set_transform | ( | const Cairo::Matrix * | transform | ) |
Sets the transformation matrix of an item model.
| transform | The new transformation matrix, or 0 to reset the transformation to the identity matrix. |
|
protectedvirtual |
| Glib::SignalProxy1< void,bool > Goocanvas::ItemModel::signal_animation_finished | ( | ) |
void on_my_animation_finished(bool stopped) | Glib::SignalProxy1< void,bool > Goocanvas::ItemModel::signal_changed | ( | ) |
void on_my_changed(bool recompute_bounds) | Glib::SignalProxy1< void,int > Goocanvas::ItemModel::signal_child_added | ( | ) |
void on_my_child_added(int child_num) | Glib::SignalProxy2< void,int,int > Goocanvas::ItemModel::signal_child_moved | ( | ) |
void on_my_child_moved(int old_child_num, int new_child_num) | Glib::SignalProxy1< void,GParamSpec* > Goocanvas::ItemModel::signal_child_notify | ( | ) |
void on_my_child_notify(GParamSpec* pspec) | Glib::SignalProxy1< void,int > Goocanvas::ItemModel::signal_child_removed | ( | ) |
void on_my_child_removed(int child_num) | void Goocanvas::ItemModel::skew_x | ( | double | degrees, |
| double | cx, | ||
| double | cy | ||
| ) |
Skews the model's coordinate system along the x axis by the given amount, about the given origin.
| degrees | The skew angle. |
| cx | The x coordinate of the origin of the skew transform. |
| cy | The y coordinate of the origin of the skew transform. |
| void Goocanvas::ItemModel::skew_y | ( | double | degrees, |
| double | cx, | ||
| double | cy | ||
| ) |
Skews the model's coordinate system along the y axis by the given amount, about the given origin.
| degrees | The skew angle. |
| cx | The x coordinate of the origin of the skew transform. |
| cy | The y coordinate of the origin of the skew transform. |
| void Goocanvas::ItemModel::stop_animation | ( | ) |
Stops any current animation for the given model, leaving it at its current position.
| void Goocanvas::ItemModel::translate | ( | double | tx, |
| double | ty | ||
| ) |
Translates the origin of the model's coordinate system by the given amounts.
| tx | The amount to move the origin in the horizontal direction. |
| ty | The amount to move the origin in the vertical direction. |
|
related |
A Glib::wrap() method for this object.
| object | The C instance. |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
1.8.9.1