There is a picture in my winform, I want to show pixel coordinates when mouse is moving, and whether zoom in or out, the same pixel's coordinates don't change, just like what paint.net does. Appreciate for any idea.
A:
about the mouse coordinate, you should use Matrix to track back mouse coordinate.
see: Back track the mouse
Benny
2009-12-21 03:53:48
This is only helpful if he's already using a `Matrix` for zoom and pan. If he isn't, this will be less efficient than transforming it manually and won't actually do any good.
SLaks
2009-12-21 03:57:05
yes. agree. and i think Matrix is better way to do zoom staff.
Benny
2009-12-21 04:01:22
You're right, but it is unlikely that he's using it.
SLaks
2009-12-21 04:06:05