[Webkit-unassigned] [Bug 16610] New: <canvas> restore() removes path segments created before it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 26 07:20:59 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16610

           Summary: <canvas> restore() removes path segments created before
                    it
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ilmari.heikkinen at gmail.com


A ctx.restore() removes the path segments created before it. This makes it
difficult to create transformed paths using ctx.save(); create_path();
ctx.restore()

E.g. 
ctx.save(); 
  ctx.scale(0.5, 1); 
  ctx.arc(0,0,10,0,Math.PI*2,false); 
ctx.restore(); 
ctx.stroke(); 
draws nothing (instead of the expected ellipse.)


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list