[Bug 10310] New: If I have a 100 by 100 pixel image and draw a filled rect of the same size at point {10, 10} the result is the bottom and right 90 pixels followed by the top and left 10 pixels. A way to offset the image so that it draws cleanly would be appreciated. A mo

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10310

           Summary: If I have a 100 by 100 pixel image and draw a filled
                    rect of the same size at point {10, 10} the result is
                    the bottom and right 90 pixels followed by the top and
                    left 10 pixels. A way to offset the image so that it
                    draws cleanly would be appreciated. A mo
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#col
                    ors-and-styles
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML Canvas 2D Context (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html@w3.org


Section:
http://www.whatwg.org/specs/web-apps/current-work/complete.html#colors-and-styles

Comment:
If I have a 100 by 100 pixel image and draw a filled rect of the same size at
point {10, 10} the result is the bottom and right 90 pixels followed by the
top and left 10 pixels. A way to offset the image so that it draws cleanly
would be appreciated. A more practical example would be filling a shape with a
pattern you want to start evenly from the top left corner. An
alternative/parallel solution would be to have a drawing mode that always
begins fills from the top left of a shape which is what I expected the
behaviour to be.

Posted from: 71.182.231.191

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Saturday, 7 August 2010 03:10:18 UTC