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

◆ draw_ellipse() [1/4]

void xtd::drawing::graphics::draw_ellipse ( const xtd::drawing::pen pen,
const xtd::drawing::rectangle rect 
)

Draws an ellipse specified by a bounding xtd::drawing::rectangle structure.

Parameters
penxtd::drawing::pen that determines the color, width, and style of the ellipse.
rectxtd::drawing::rectangle structure that defines the boundaries of the ellipse.
Remarks
This method draws an ellipse that is defined by the bounding rectangle specified by the rect parameter.
Examples
fill_ellipse.cpp, fill_rectangle.cpp, fill_rounded_rectangle.cpp, and graphics.cpp.