[whatwg] I believe source rectangles for HTML5 Canvas drawImage are specified incorrectly

Robert O'Callahan robert at ocallahan.org
Mon Dec 17 22:04:37 PST 2012


On Tue, Dec 18, 2012 at 6:57 PM, Rik Cabanier <cabanier at gmail.com> wrote:

> Does it matter that this solution is in the image world and not 2d canvas?
> It seems that this will have a bigger impact on the browser's codebase
> since it spans images and canvas.


I think that's a good thing --- it's more generally useful.

Note that Ian has adopted this approach (via an ImageBitmap constructor).

Rob
-- 
Jesus called them together and said, “You know that the rulers of the
Gentiles lord it over them, and their high officials exercise authority
over them. Not so with you. Instead, whoever wants to become great among
you must be your servant, and whoever wants to be first must be your
slave — just
as the Son of Man did not come to be served, but to serve, and to give his
life as a ransom for many.” [Matthew 20:25-28]



More information about the whatwg mailing list