DrawImageUnscaled()

Graphics::DrawImageUnscaled(const SharedPtr<Image>&, int, int) method

Draws the specified image using its original physical size at the specified location.

void System::Drawing::Graphics::DrawImageUnscaled(const SharedPtr<Image> &image, int x, int y)

Arguments

ParameterTypeDescription
imageconst SharedPtr<Image>&The image to draw
xintThe X coordinate of the upper left corner of the drawn image
yintThe Y coordinate of the upper left corner of the drawn image

Graphics::DrawImageUnscaled(const SharedPtr<Image>&, int, int, int, int) method

Draws a specified image using its original physical size at a specified location.

void System::Drawing::Graphics::DrawImageUnscaled(const SharedPtr<Image> &image, int x, int y, int width, int height)

Arguments

ParameterTypeDescription
imageconst SharedPtr<Image>&The image to draw
xintThe X coordinate of the upper left corner of the drawn image
yintThe Y coordinate of the upper left corner of the drawn image
widthintNot used
heightintNot used

Graphics::DrawImageUnscaled(const SharedPtr<Image>&, const Rectangle&) method

Draws a specified image using its original physical size at a specified location.

void System::Drawing::Graphics::DrawImageUnscaled(const SharedPtr<Image> &image, const Rectangle &rect)

Arguments

ParameterTypeDescription
imageconst SharedPtr<Image>&The image to draw
rectconst Rectangle&The rectangle that specifies the upper-left corner of the drawn image. The X and Y properties of the rectangle specify the upper-left corner. The width and height values are ignored.

Graphics::DrawImageUnscaled(const SharedPtr<Image>&, const Point&) method

Draws a specified image using its original physical size at a specified location.

void System::Drawing::Graphics::DrawImageUnscaled(const SharedPtr<Image> &image, const Point &point)

Arguments

ParameterTypeDescription
imageconst SharedPtr<Image>&The image to draw
pointconst Point&The Point structure that specifies the upper-left corner of the drawn image.

See Also