Draws the subset of the given image described by the src
argument into
the canvas in the axis-aligned rectangle given by the dst
argument.
This might sample from outside the src
rect by up to half the width of
an applied filter.
Source
void drawImageRect(Image image, Rect src, Rect dst, Paint paint) { _drawImageRect(image, src.left, src.top, src.right, src.bottom, dst.left, dst.top, dst.right, dst.bottom, paint._objects, paint._data); }