[Webkit-unassigned] [Bug 67652] Negative width/height values not always treated properly by 2D canvas drawImage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 7 22:42:42 PDT 2013


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





--- Comment #22 from Rashmi Shyamasundar <rashmi.s2 at samsung.com>  2013-07-07 22:44:42 PST ---
The title of this bug is misleading. I think, it should be changed -

FROM :
"Negative width/height values not always treated properly by 2D canvas drawImage"

TO :
"Negative 'x' and 'y' co-ordinate values not treated properly by 2D canvas drawImage"

               OR

Canvas drawImage() does not work as expected when the source-rect specified in the drawImage() call, is not completely inside the source-image.

For example, consider a source-image with width=50, height=50.
Suppose the source-rect is (0, 0, 100, 100) where x=0, y=0, width=100, height=100. Now, source-rect should be right-clipped, and after clipping, the source-rect should be (0, 0, 50, 50).

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