xtd 0.2.0
Loading...
Searching...
No Matches

◆ draw_image() [13/16]

void xtd::drawing::graphics::draw_image ( const xtd::drawing::image image,
const xtd::drawing::rectangle dest_rect,
int32  src_x,
int32  src_y,
int32  srd_width,
int32  src_height 
)

Draws the specified protion of the specified xtd::drawing::image at the specified location and with the specified size.

Parameters
imagextd::drawing::image to draw.
rectxtd::drawing::rectangle structure that specifies the location and size of the drawn image.
Remarks
The image represented by the image object is scaled to the dimensions of the rect rectangle.