08-06-2010 04:02 PM
Hello
I have a cursor point diplayed on the center of my image and I would like to set this point as a reference or an origin. Because now I have to make my image rotate and find the new center of the rotated image so that I could compute the distance between the two points.
Thanks and let me know if more details are required.
08-09-2010 11:22 AM
Hello luckyloic,
Could you provide a bit more information on your application? Is the cursor point part of your image and you are wanting to first find the location of that point then set it as a reference? Or are you manually tracking the position of your mouse?
08-10-2010 05:37 PM
Hello Andy
Sorry for the delay,
Yes my cursor point is part of my image
And I have already found automatically the location of that point and now I want to set it as a reference.
Let me know if it is enough
08-11-2010 01:13 PM
Hello Luckloic,
Assuming you have the coordinate of the image which should be a cluster for two double. After you've rotated the image and found the center, you should be able to subtract the two x and y coordinate points to find the difference.