[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:09:03 PDT 2010


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





--- Comment #6 from Dirk Schulze <krit at webkit.org>  2010-07-29 00:09:03 PST ---
(In reply to comment #5)
> (From update of attachment 62904 [details])
> 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.

haha, the scale should be 0.5 not 0,5 :-)

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