|Retrieving mouse position [message #1066600]
||Wed, 03 July 2013 11:39
| Cedric Moonen
Registered: August 2009
I recently upgraded to graphiti 0.10 (from 0.8 ) and was able to fix most of the compilation errors (changes in the API.
I have one remaining problem: in my custom move shape feature, how can I retrieve the mouse position ? Previously, this could be done by calling getMouseLocation() on the editor but this method doesn't exist anymore (and furthermore, getting the editor is deprecated).
I need this because I need to know the mouse position in the target shape (relative to the target shape). This is used to validate whether the shape can be moved there.
[Updated on: Wed, 03 July 2013 11:43]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03124 seconds