[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
Mon Nov 29 11:08:44 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=48516
Nikolas Zimmermann <zimmermann at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #74629|review? |review-
Flag| |
--- Comment #45 from Nikolas Zimmermann <zimmermann at kde.org> 2010-11-29 11:08:42 PST ---
(From update of attachment 74629)
View in context: https://bugs.webkit.org/attachment.cgi?id=74629&action=review
Looks great to me, still a nitpick though:
> WebCore/platform/graphics/GraphicsContext.h:304
> +#if !PLATFORM(QT) && !PLATFORM(CAIRO) && !PLATFORM(CG) && !PLATFORM(HAIKU)
Could you only list the platforms that actually need begin/addPath here, instead of blacklisting those who don't?
> WebCore/rendering/svg/SVGInlineTextBox.cpp:347
> + releasePaintingResource(context, Path());
Hm, this seems wrong to me. The text code path doesn't need any Path usage at all for painting text.
This implies that postApplyResource() should take a Path* pointer, so that we can avoid creating a temporary Path() object here. Agreed?
> WebCore/rendering/svg/SVGInlineTextBox.cpp:505
> + releasePaintingResource(context, path);
You'd just have to use &path here then.
--
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