开发者

Does RenderTransformOrigin influence scale transforms?

I am trying to do scale transforms on an InkCanvas and some unseen force seems to be influencing how the scale works. When I try to set CenterX and CenterY they appear to be being ignored.

Update: I should note that the ink canvas is wrapped with a viewbox, I suppose that 开发者_如何学Gocould be influencing it too...


I tried it out and it does. E.g. in order to make a control sweep from right to left I moved the RenderTransformOrigin to "1, 0" .

I am not certain about the documentation but it could be that CenterX/Y relate not to normalized proportions but to the actual size of the UIElement. If that's the case it is sort of useless.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜