code: protected final void render(Graphic g, int x, int y, int w, int h, int ox, int oy)
      {
          if (Mirror.HORIZONTAL == mirror)
          {
              g.drawImage(surface, x, y, x + w, y + h, ox * w + w, oy * h, ox * w, oy * h + h);
          }
          else if (Mirror.VERTICAL == mirror)
          {
              g.drawImage(surface, x, y, x + w, y + h, ox * w, oy * h + h, ox * w + w, oy * h);
          }
          else
          {
              g.drawImage(surface, x, y, x + w, y + h, ox * w, oy * h, ox * w + w, oy * h + h);
          }
      }
docs: Render an extract of a surface to a specified destination.
  
  @param g The graphic output.
  @param x The horizontal destination.
  @param y The vertical destination.
  @param w The width extract.
  @param h The height extract.
  @param ox The horizontal offset (width count).
  @param oy The vertical offset (height count).
  @throws LionEngineException If mirror error.