El vie, 29 de mar 2013 a las 5:59 ,Hydexon <[email protected]>
escribió:
Hello!, i'm rewritting the FlowChart component, porting from Gtkmm 2
and GnomeCanvasmm to Gtkmm 3 and Goocanvasmm, and i need to know what
are correct replacement the following code:
virtual Gnome::Art::Point src_connection_point() = 0;
virtual Gnome::Art::Point dst_connection_point(const
Gnome::Art::Point& src) = 0;
virtual Gnome::Art::Point connection_point_vector(double dx, double
dy) = 0;
i see the Goocanvasmm refernce manual and the only similar are
Goocanvas::Points.
Thanks.
Needs also a replacement of the Gnome::Canvas::Shape like this in the
Connectable.hpp:
/** A handle on a connection line to allow mouse interaction. */
struct Handle : public Gnome::Canvas::Group {
explicit Handle(Gnome::Canvas::Group& parent)
: Gnome::Canvas::Group(parent), shape(NULL), text(NULL) {}
~Handle() { delete shape; delete text; }
Gnome::Canvas::Shape* shape;
Gnome::Canvas::Text* text;
}* _handle;
Also i warned because the Bezier Paths doesn't exist in Goocanvas
anymore, i think.
I forgot, i'm using goocanvasmm 2.0.
Thanks.
_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list