views:

387

answers:

2

I am using WPF and I have an image of an 8.5" * 11" piece of paper on a Canvas. I am then rotating the image using a RotateTransform, with the axis being in the middle of the page (that is, RotateTransformOrigin="0.5,0.5"). How can I find the actual location on the canvas of the corners of the image?

+1  A: 

http://au.answers.yahoo.com/question/index?qid=20080607033505AAF75UC

(this is the geometry way)

Jon Kruger
A: 
_image.TranslatePoint(new Point(0, 0), _canvas);

Will this do?

Jobi Joy