[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 00:08:10 PDT 2010


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


Dirk Schulze <krit at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #62904|review?                     |review-
               Flag|                            |




--- Comment #5 from Dirk Schulze <krit at webkit.org>  2010-07-29 00:08:10 PST ---
(From update of attachment 62904)
You forgot some context transformations like scale and tranlate. They need to do path transformation similar to ctm transformation.

Also did you check, if save and restore infulence the path transformations as well? You can test this with HTML Canvas:
context->translate(10,10);
context->moveTo(0,0);
context->lineTo(100,0);
context->save();
context->scale(0,5);
context->lineTo(100,100);
context->restore();
context->lineTo(0,100);
context->closePath;
context->stroke();

Compare the result with firefox and you'll see if you need extra logic for save/restore.

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