This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10310 - 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
Summary: If I have a 100 by 100 pixel image and draw a filled rect of the same size at...
Status: VERIFIED DUPLICATE of bug 10132
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML Canvas 2D Context (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-07 03:10 UTC by contributor
Modified: 2010-10-22 10:40 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2010-08-07 03:10:15 UTC
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
Comment 1 Regis Frey 2010-08-07 03:21:09 UTC

*** This bug has been marked as a duplicate of bug 10132 ***