code: void draw(GLShader shader, InternalTransform xform, int tint,
              float dx, float dy, float dw, float dh) {
      draw(shader, xform, tint, dx, dy, dw, dh,
           0, 0, (repeatX ? dw : width()), (repeatY ? dh : height()));
    }
docs: Draws this image with the supplied transform in the specified target dimensions.