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

◆ draw_icon() [2/2]

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.

Parameters
iconxtd::drawing::icon to draw.
rectxtd::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.