[cairo] drag objects (polygon) to desired position

David Boon boonflies at gmail.com
Fri Nov 14 07:56:48 PST 2014

I am trying to update a simulator which uses pycairo-pygtk. I needed
to draw polygons on definite points (the user selects using mouse
pointer) on runtime. Though I am able to draw polygons I am not able
to really draw it in the desired position selected by the user.

Is there a way to draw on specific points on screen as selected by the
user or is it possible to drag the polygon to the desired position?

More information about the cairo mailing list