开发者

Scale limit for matrix transform for a Microsoft Surface application

I've developed a surface application in which users are able to pull from a menu a movie and drag it on the main canvas. I've created a user control to host the movie and I implemented Affine2dManipulation in order to allow the users to rotate, scale and move the control on the main canvas. The problem is that i want to set a scale limit for control. The RenderTransform is handled by a MatrixTransform.

If anyone has any ideeas o开发者_Python百科n how to limit the scaletransform for the matrix please let me know


Is there any particular reason why you aren't using ScatterView/ScatterViewItem? Because those controls are meant to give you the exact behavior you explained here.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜