#include <points.h>
Public Member Functions | |
| Points () | |
| Points (GooCanvasPoints *gobject, bool make_a_copy=true) | |
| Points (const Points &other) | |
| Points & | operator= (const Points &other) |
| ~Points () | |
| void | swap (Points &other) |
| GooCanvasPoints * | gobj () |
| Provides access to the underlying C instance. | |
| const GooCanvasPoints * | gobj () const |
| Provides access to the underlying C instance. | |
| GooCanvasPoints * | gobj_copy () const |
| Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. | |
| Points (int num_points) | |
| Points (int num_points, const double *coords) | |
| int | get_num_points () const |
| void | set_coordinate (int index, double x, double y) |
| void | get_coordinate (int index, double &x, double &y) const |
Protected Attributes | |
| GooCanvasPoints * | gobject_ |
Related Functions | |
| (Note that these are not member functions.) | |
| void | swap (Points &lhs, Points &rhs) |
| Goocanvas::Points | wrap (GooCanvasPoints *object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
| Goocanvas::Points::Points | ( | ) |
| Goocanvas::Points::Points | ( | GooCanvasPoints * | gobject, | |
| bool | make_a_copy = true | |||
| ) | [explicit] |
| Goocanvas::Points::Points | ( | const Points & | other | ) |
| Goocanvas::Points::~Points | ( | ) |
| Goocanvas::Points::Points | ( | int | num_points | ) | [explicit] |
| Goocanvas::Points::Points | ( | int | num_points, | |
| const double * | coords | |||
| ) |
| void Goocanvas::Points::get_coordinate | ( | int | index, | |
| double & | x, | |||
| double & | y | |||
| ) | const |
| int Goocanvas::Points::get_num_points | ( | ) | const |
| const GooCanvasPoints* Goocanvas::Points::gobj | ( | ) | const [inline] |
| GooCanvasPoints* Goocanvas::Points::gobj | ( | ) | [inline] |
| GooCanvasPoints* Goocanvas::Points::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
| void Goocanvas::Points::set_coordinate | ( | int | index, | |
| double | x, | |||
| double | y | |||
| ) |
| Goocanvas::Points wrap | ( | GooCanvasPoints * | 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. |
GooCanvasPoints* Goocanvas::Points::gobject_ [protected] |
Referenced by gobj().
1.5.8