[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 11:11:37 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=48516
--- Comment #26 from Stephen White <senorblanco at chromium.org> 2010-10-29 11:11:35 PST ---
(From update of attachment 72179)
View in context: https://bugs.webkit.org/attachment.cgi?id=72179&action=review
This looks great.
I think the beginPath/addPath() functions could be removed from skia too. There's nothing in skia itself that requires these semantics, AFAIK (the current path is stored in PlatformContextSkia::m_path, and reset in beginPath() -- which was wrong; it should probably have been reset in fillPath()/strokePath() to emulate the CG behaviour). Anyway, you can either do this yourself, or I can do it after this patch lands.
> WebCore/inspector/InspectorController.cpp:-1819
> - context.addPath(quadPath);
Out of curiosity, was this a bug? It looks like the path was being added twice (before and after the clipOut). Or did the semantics of clipOut() change in this patch too?
--
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