在canvas元素中使用SVG evenodd填充规则 [英] Using the SVG evenodd fill-rule in the canvas element
问题描述
有没有人知道是否可能,在本机或数学用javascript,实现HTML5的canvas元素中的SVG的evenodd填充规则?
谢谢!
p>我问自己同样的问题,遇到了这个Mozilla Bugreport 。 p>
似乎它被错误修改者提交给WHATWG(画布规格):
Chris Jones,2011-06-10:
让我们等待文档,直到这个规范在whatwg看起来稳固(我今天发布)。
Does anyone know if it's possible, either natively or mathematically with javascript, to implement the evenodd fill-rule from SVG in the HTML5 canvas element? Links to projects that do this would be helpful.
Thanks!
I asked myself the same question and came across this Mozilla Bugreport.
Seems as it gets proposed to the WHATWG (canvas specs) by the bugreporters:
Chris Jones, 2011-06-10:
Let's wait for docs until this spec is looking solid on whatwg (I'll post today).
这篇关于在canvas元素中使用SVG evenodd填充规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!