[Webkit-unassigned] [Bug 48516] GraphicsContext: Remove "current path" and have strokePath, fillPath and clipPath take a Path argument

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 29 00:54:07 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=48516





--- Comment #9 from Dirk Schulze <krit at webkit.org>  2010-10-29 00:54:06 PST ---
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #6)
> > > I like this idea, though I'm not sure what the best way to do that on CG is.
> > So CGContextStrokePath/CGContextFillPath clear the currentPath after the drawing operation and there is no way to prevent CG to do it?
> 
> For CGContextStrokePath: "As a side effect when you call this function, Quartz clears the current path."
> 
> Nothing is said about it for CGContextFillPath, so I assume it doesn't happen.

Hm, not sure. A CG guy should comment on this. Nevertheless, SVG 2.0 will make it possible to change the order of drawing fill and stroke, so it would still be helpful if CGContextStrokePath wouldn't clear the path :-(

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list