W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2011

[whatwg] Need clarification on DOM exceptions thrown by canvas 2D drawImage

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 09 Aug 2011 11:56:04 -0400
Message-ID: <4E415894.8000402@mit.edu>
On 8/9/11 11:29 AM, Justin Novosad wrote:
> I second that. And in support of the spec, let me just say that the
> clamp-to-edge is essential for many existing canvas-based games that
> use large images as sprite maps.  Without clamping to the edge of the
> source rectangle

We're talking about clamping to the edge of the backing store, not 
clamping to the edge of the source rectangle, unless I missed something. 
  There's no clamping to the edge of the source rectangle specified in 
the spec, as far as I can tell.

-Boris
Received on Tuesday, 9 August 2011 08:56:04 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:35 UTC