1

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?

4

2 回答 2

1

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

(这是几何方式)

于 2008-09-19T14:04:48.800 回答
0
_image.TranslatePoint(new Point(0, 0), _canvas);

这会吗?

于 2008-09-20T00:39:03.097 回答