Silverlight 图像定位/转换
我想做的是: 更改图像四个角的点。
现在可以做的是改变左上角。但这只会改变形象。 我想通过改变角坐标来变换图像。 效果将是 3d 类型的变换。 倾斜变换不行,我希望能够自由定位角。
这可能吗?
What I would like to do is the following:
Change the points of the four corners of an image.
What is possible now, is to change the top left corner. But that will only move the image.
I want to transform the image by changing the corner coordinates.
The effect will be a 3d-kind transformation.
A skew transformation will not do, I want to be able to position the corners freely.
Is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为你可以随意放置图像的角并使其相应扭曲。如果您指定要达到的效果可能会更好。
有几个选项可能适合也可能不适合。
Matrix3DProjection< /code>
满足您的目的(并为您做很多数学计算)?
I don't think you can just place corners of an image arbitarily and have it distort accordingly. It might be better if you specified the effect you are trying to acheive.
There are couple of options which may or may not suit.
Matrix3DProjection
serve your purpose (as well as do a lot a math for you)?