View Single Post
  #3   Spotlight this post!  
Unread 28-11-2009, 20:23
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Trouble with mouse location on pictures

Okay, I found several problems:
The X and Y axis were switched when creating the rectangle.
The picture origin was not correct (thus creating a consistant offset)
The correct picture origin is dependent on the picture position plus a fixed offset.

Anyways, I got it working correctly, and uploaded it in case you wanted to see too.

Thanks!
Attached Files
File Type: vi Picture properties.vi (38.4 KB, 17 views)
__________________
-- Marshal Horn
Reply With Quote