<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#ffffff" alink="#EE0000" vlink="#551A8B" text="#000000"
    link="#0B6CDA">
    <div class="up"><br>
    </div>
    <div class="up">Hi I found a mistake in the doc's <br>
    </div>
    <div class="up"><br>
    </div>
    <div class="up"><br>
    </div>
    <div class="up"><br>
    </div>
    <div class="up"><a href="http://gambaswiki.org/wiki"><img
          src="http://gambaswiki.org/wiki/up.png" width="16" height="16"></a>
    </div>
    <div class="title"> <a href="http://gambaswiki.org/wiki/comp">comp</a> • <a
        href="http://gambaswiki.org/wiki/comp/gb.sdl2">gb.sdl2</a> • <a
        href="http://gambaswiki.org/wiki/comp/gb.sdl2/draw">draw</a> • <a
        href="http://gambaswiki.org/wiki/comp/gb.sdl2/draw/image">image</a>
    </div>
    <div style="float:right;"> </div>
    <div id="page" class="page">
      <h1>Draw.Image (gb.sdl2)</h1>
      <div>
        <div class="syntax">
          <p><font color="blue">Static</font> <font color="blue">Sub</font>
            <b>Image</b> <font color="blue">(</font> <u>Image</u> <font
              color="blue">As</font> <font color="#0080FF"><a
                href="http://gambaswiki.org/wiki/comp/gb.sdl2/image">Image</a></font><font
              color="blue">,</font> <u>X</u> <font color="blue">As</font>
            <font color="#0080FF">Integer</font><font color="blue">,</font>
            <u>Y</u> <font color="blue">As</font> <font
              color="#0080FF">Integer</font> <b>[</b> <font
              color="blue">,</font> <u>Width</u> <font color="blue">As</font>
            <font color="#0080FF">Integer</font><font color="blue">,</font>
            <u>Height</u> <font color="blue">As</font> <font
              color="#0080FF">Integer</font><font color="blue">,</font>
            <u>Source</u> <font color="blue">As</font> <font
              color="#0080FF">Rect</font><font color="blue">,</font> <u>Opacity</u>
            <font color="blue">As</font> <font color="#0080FF">Float</font><font
              color="blue">,</font> <u>Angle</u> <font color="blue">As</font>
            <font color="#0080FF">Float</font> <font color="blue">)</font></p>
        </div>
      </div>
      <p>Paint an image on the current drawing device.</p>
      <ul>
        <li>
          <p><u>Image</u> : the image to paint.</p>
        </li>
        <li>
          <p><u>X</u>, <u>Y</u> : the top-left position where the image
            will be drawn.</p>
        </li>
        <li>
          <p><u>Width</u>, <u>Height</u> : the target dimensions. If it
            is different from the image dimensions, the image is drawn
            stretched.</p>
        </li>
        <li>
          <p><u>Source</u> : the sub-part of the image to draw, as a
            rectangle. If <code style="white-space:nowrap;">NULL</code>
            or not specified, the entire image is drawn.</p>
        </li>
        <li>
          <p><u>Opacity</u> : the opacity applied to the drawn image. <font
              color="#ff0000"><u>By default it is </u><u><code
                  style="white-space:nowrap;">1</code></u><u> (100%).</u>
              <font color="#333399"><u><i>This is not true it is 0 for
                    100%</i></u><br>
              </font></font></p>
          <font color="#333399"> </font></li>
        <li><font color="#333399">
          </font>
          <p><u>Angle</u> : the rotation angle applied to the image. The
            image is rotated around is center, and by default the image
            is not rotated.</p>
        </li>
      </ul>
    </div>
  </body>
</html>