<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>11565</bug_id>
          
          <creation_ts>2010-12-17 04:52:31 +0000</creation_ts>
          <short_desc>Add drawImage(in ImageData image, ...) functions to context2d</short_desc>
          <delta_ts>2011-08-04 05:04:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML Canvas 2D Context</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>11517</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sirisian">warcraftthreeft</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43445</commentid>
    <comment_count>0</comment_count>
    <who name="Sirisian">warcraftthreeft</who>
    <bug_when>2010-12-17 04:52:31 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44092</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-01-11 05:12:45 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 11517 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52775</commentid>
    <comment_count>2</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:04:09 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>