code: public void drawImage(final Context2D context)
      {
          if (isLoaded())
          {
              doUpdateCheck();
  
              if (context.isSelection())
              {
                  if (ImageSelectionMode.SELECT_BOUNDS == m_image.getImageSelectionMode())
                  {
                      context.setFillColor(m_image.getColorKey());
  
                      context.beginPath();
  
                      context.rect(0, 0, m_dest_wide, m_dest_high);
  
                      context.fill();
  
                      context.closePath();
                  }
                  else
                  {
                      context.drawImage(m_selectImage.getElement(), 0, 0);
                  }
              }
              else
              {
                  if (m_fastout)
                  {
                      context.drawImage(m_jsimg, m_clip_xpos, m_clip_ypos, m_clip_wide, m_clip_high, 0, 0, m_dest_wide, m_dest_high);
                  }
                  else
                  {
                      context.drawImage(m_filterImage.getElement(), 0, 0);
                  }
              }
          }
      }
docs: Draws the image in the {@link Context2D}.
  
  @param context {@link Context2D}