Hey,
I have created a wxpython script which can move shapes. But, I don’t know how to resize them. Anybody please help to solve this problem. Edit the attached file and help me.
MoveShape.py (17 KB)
Hey,
I have created a wxpython script which can move shapes. But, I don’t know how to resize them. Anybody please help to solve this problem. Edit the attached file and help me.
MoveShape.py (17 KB)
Navaneeth Suresh wrote:
Hey,
I have created a wxpython script which can move shapes. But, I don't
know how to resize them. Anybody please help to solve this problem. Edit
the attached file and help me.
Similar to how you handle movement. Test for dragging gestures on the resize handles and instead of just moving the handle, resize the shape accordingly.
--
Robin Dunn
Software Craftsman
Robin,
Will you demonstrate it by editing the script that I have previously attached. It will be more helpful.
Navaneeth Suresh wrote:
Robin,
Will you demonstrate it by editing the script file that I have
previously attached.
Sorry, I don't have time for that.
BTW, have you looked at wx.lib.ogl or wx.lib.floatcanvas? It seems like you are wanting to do a lot of the same things they already do.
--
Robin Dunn
Software Craftsman