void xtd::drawing::graphics::draw_icon | ( | const xtd::drawing::icon & | icon, |
const xtd::drawing::rectangle & | rect | ||
) |
Draws the image represented by the specified xtd::drawing::icon within the area specified by a xtd::drawing::rectangle structure.
icon | xtd::drawing::icon to draw. |
rect | xtd::drawing::rectangle structure that specifies the location and size of the resulting image on the display surface. The image contained in the icon parameter is scaled to the dimensions of this rectangular area. |