@Override public Surface drawImage( Image image, float dx, float dy, float dw, float dh, float sx, float sy, float sw, float sh) { bindFramebuffer(); ((ImageGL) image).draw(shader, topTransform(), dx, dy, dw, dh, sx, sy, sw, sh, tint); return this; }
@Override public Surface drawImage(Image image, float x, float y, float dw, float dh) { bindFramebuffer(); ((ImageGL) image) .draw(shader, topTransform(), x, y, dw, dh, 0, 0, image.width(), image.height(), tint); return this; }