#include <itemmodel.h>
Inheritance diagram for Goocanvas::ItemModel:
Public Member Functions | |
virtual | ~ItemModel () |
GooCanvasItemModel * | gobj () |
Provides access to the underlying C GObject. | |
const GooCanvasItemModel * | gobj () const |
Provides access to the underlying C GObject. | |
int | get_n_children () |
int | get_n_children () const |
Glib::RefPtr< ItemModel > | get_child (int child_num) |
Glib::RefPtr< const ItemModel > | get_child (int child_num) const |
void | add_child (const Glib::RefPtr< ItemModel > &child, int position) |
void | add_child (const Glib::RefPtr< ItemModel > &child) |
void | move_child (int old_position, int new_position) |
void | remove_child (int child_num) |
int | find_child (const Glib::RefPtr< ItemModel > &child) |
Glib::RefPtr< ItemModel > | get_parent () |
Glib::RefPtr< const ItemModel > | get_parent () const |
void | set_parent (const Glib::RefPtr< ItemModel > &parent) |
void | remove () |
bool | is_container () const |
void | raise (const Glib::RefPtr< ItemModel > &above) |
void | raise () |
Raise the item to the top of the stack. | |
void | lower (const Glib::RefPtr< ItemModel > &below) |
void | lower () |
Lower the item to the bottom of the stack. | |
bool | get_transform (Cairo::Matrix *transform) |
void | set_transform (const Cairo::Matrix *transform) |
void | set_simple_transform (double x, double y, double scale, double rotation) |
void | translate (double tx, double ty) |
void | scale (double sx, double sy) |
void | rotate (double degrees, double cx, double cy) |
void | skew_x (double degrees, double cx, double cy) |
void | skew_y (double degrees, double cx, double cy) |
Glib::RefPtr< Style > | get_style () |
Glib::RefPtr< const Style > | get_style () const |
void | set_style (const Glib::RefPtr< Style > &style) |
void | animate (double x, double y, double scale, double degrees, bool absolute, int duration, int step_time, AnimateType animate_type) |
void | stop_animation () |
Static Public Member Functions | |
static void | add_interface (GType gtype_implementer) |
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. |
virtual Goocanvas::ItemModel::~ItemModel | ( | ) | [virtual] |
static void Goocanvas::ItemModel::add_interface | ( | GType | gtype_implementer | ) | [static] |
GooCanvasItemModel* Goocanvas::ItemModel::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented in Goocanvas::EllipseModel, Goocanvas::GroupModel, Goocanvas::ImageModel, Goocanvas::ItemModelSimple, Goocanvas::PathModel, Goocanvas::PolylineModel, Goocanvas::RectModel, and Goocanvas::TextModel.
const GooCanvasItemModel* Goocanvas::ItemModel::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented in Goocanvas::EllipseModel, Goocanvas::GroupModel, Goocanvas::ImageModel, Goocanvas::ItemModelSimple, Goocanvas::PathModel, Goocanvas::PolylineModel, Goocanvas::RectModel, and Goocanvas::TextModel.
int Goocanvas::ItemModel::get_n_children | ( | ) |
int Goocanvas::ItemModel::get_n_children | ( | ) | const |
Glib::RefPtr<ItemModel> Goocanvas::ItemModel::get_child | ( | int | child_num | ) |
Glib::RefPtr<const ItemModel> Goocanvas::ItemModel::get_child | ( | int | child_num | ) | const |
void Goocanvas::ItemModel::add_child | ( | const Glib::RefPtr< ItemModel > & | child, | |
int | position | |||
) |
void Goocanvas::ItemModel::add_child | ( | const Glib::RefPtr< ItemModel > & | child | ) |
void Goocanvas::ItemModel::move_child | ( | int | old_position, | |
int | new_position | |||
) |
void Goocanvas::ItemModel::remove_child | ( | int | child_num | ) |
int Goocanvas::ItemModel::find_child | ( | const Glib::RefPtr< ItemModel > & | child | ) |
Glib::RefPtr<ItemModel> Goocanvas::ItemModel::get_parent | ( | ) |
Glib::RefPtr<const ItemModel> Goocanvas::ItemModel::get_parent | ( | ) | const |
void Goocanvas::ItemModel::set_parent | ( | const Glib::RefPtr< ItemModel > & | parent | ) |
void Goocanvas::ItemModel::remove | ( | ) |
bool Goocanvas::ItemModel::is_container | ( | ) | const |
void Goocanvas::ItemModel::raise | ( | const Glib::RefPtr< ItemModel > & | above | ) |
void Goocanvas::ItemModel::raise | ( | ) |
Raise the item to the top of the stack.
void Goocanvas::ItemModel::lower | ( | const Glib::RefPtr< ItemModel > & | below | ) |
void Goocanvas::ItemModel::lower | ( | ) |
Lower the item to the bottom of the stack.
bool Goocanvas::ItemModel::get_transform | ( | Cairo::Matrix * | transform | ) |
void Goocanvas::ItemModel::set_transform | ( | const Cairo::Matrix * | transform | ) |
void Goocanvas::ItemModel::set_simple_transform | ( | double | x, | |
double | y, | |||
double | scale, | |||
double | rotation | |||
) |
void Goocanvas::ItemModel::translate | ( | double | tx, | |
double | ty | |||
) |
void Goocanvas::ItemModel::scale | ( | double | sx, | |
double | sy | |||
) |
void Goocanvas::ItemModel::rotate | ( | double | degrees, | |
double | cx, | |||
double | cy | |||
) |
void Goocanvas::ItemModel::skew_x | ( | double | degrees, | |
double | cx, | |||
double | cy | |||
) |
void Goocanvas::ItemModel::skew_y | ( | double | degrees, | |
double | cx, | |||
double | cy | |||
) |
Glib::RefPtr<Style> Goocanvas::ItemModel::get_style | ( | ) |
Glib::RefPtr<const Style> Goocanvas::ItemModel::get_style | ( | ) | const |
void Goocanvas::ItemModel::set_style | ( | const Glib::RefPtr< Style > & | style | ) |
void Goocanvas::ItemModel::animate | ( | double | x, | |
double | y, | |||
double | scale, | |||
double | degrees, | |||
bool | absolute, | |||
int | duration, | |||
int | step_time, | |||
AnimateType | animate_type | |||
) |
void Goocanvas::ItemModel::stop_animation | ( | ) |
Glib::RefPtr< Goocanvas::ItemModel > wrap | ( | GooCanvasItemModel * | object, | |
bool | take_copy = false | |||
) | [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. |