[Webkit-unassigned] [Bug 48516] GraphicsContext: Replace beginPath+addPath with setPath

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 29 02:38:40 PDT 2010


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





--- Comment #11 from Nikolas Zimmermann <zimmermann at kde.org>  2010-10-29 02:38:39 PST ---
(In reply to comment #9)
> (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 :-(
It's no problem that the stroke path is cleared, if strokePath would take a const Path&, we could easily readd it after clearing. But I don't think there's any need to do that....

-- 
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