[Bug 11565] New: Add drawImage(in ImageData image, ...) functions to context2d

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

           Summary: Add drawImage(in ImageData image, ...) functions to
                    context2d
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML Canvas 2D Context (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: warcraftthreeft@sbcglobal.net
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Add these two lines:

void drawImage(in ImageData image, in double dx, in double dy, in optional
double dw, in double dh);
void drawImage(in ImageData image, in double sx, in double sy, in double sw, in
double sh, in double dx, in double dy, in double dw, in double dh);

to:
http://www.w3.org/TR/2dcontext/#conformance-requirements

Usage scenario. You have a large image that you want to render a portion to the
screen without overwriting the whole canvas. (Pretend part of it is
transparent). You also want the ability to change pixel info quickly and
ImageData allows that.

-- 
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 Friday, 17 December 2010 04:52:34 UTC