[Webkit-unassigned] [Bug 41732] [Cairo] Bring behavior of paths on the Cairo GraphicsContext into line with the CoreGraphics port

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 29 22:37:42 PDT 2010


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





--- Comment #16 from Dirk Schulze <krit at webkit.org>  2010-07-29 22:37:42 PST ---
(In reply to comment #15)
> Created an attachment (id=63018)
 --> (https://bugs.webkit.org/attachment.cgi?id=63018) [details]
> Patch which also removes invalid calls to strokePath and fillPath

Are you sure that they are invalid? IIRC they are just used from HTML Canvas and should be handled similar like Paths, means replace the current Path. Doesn't Cg replace the current path with this rect?
You can test it again with HTML Canvas:

canvas->moveTo(10,10);
canvas->lineTo(110,10);
canvas->lineTo(110,110);
canvas->lineTo(10,110);
canvas->closePath();
canvas->strokeRect(120,10,100,100);
canvas->stroke();

If just see the right rect, Safari replaces the currenPath with the rect.

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