R2 - DrawImage


void R2::DrawImage(Image^ image,
                      long long x,
                      long long y,
                      long long width,
                      long long height)

This method draws an image.

Parameters

Image^ image

The image to be drawn.

long long x

The x coordinate of the upper left corner of the rectangle in which the image is drawn.

long long y

The y coordinate of the upper left corner of the rectangle in which the image is drawn.

long long width

The width of the rectangle in which the image is drawn.

long long height

The height of the rectangle in which the image is drawn.

Notes

The image is scaled to fit the bounding rectangle.