We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
他们做不同的事情。绘制到画布上的东西不是“可移动的”,因为它们不是对象,只是像素。另一方面,SVG 不允许您通过合理的方式绘制像素。
我认为这份白皮书对于任何计划或开始使用 Canvas 和 SVG 进行编辑的人来说都是一个令人难以置信的资源。它提供了一个关于比赛场地的奇妙视角。
http://www.svgopen.org/2009/papers/54-SVG_vs_Canvas_on_Trivial_Drawing_Application/
来自论文:
They do different things. Things drawn to the canvas aren't "moveable" since they aren't objects, just pixels. On the other hand, SVG doesn't allow you to draw in pixels by reasonable means.
I think that this white paper is an incredible resource for anybody planning on or getting into working with Canvas and SVG for editing purposes. It gives a fantastic perspective of what the playing field looks like.
http://www.svgopen.org/2009/papers/54-SVG_vs_Canvas_on_Trivial_Drawing_Application/
From the paper: