跳至内容

Ellipse

Ellipse

Draws an ellipse using two points.

void  Ellipse(
   int         x1,      // X coordinate
   int         y1,      // Y coordinate
   int         x2,      // X coordinate
   int         y2,      // Y coordinate
   const uint  clr      // color
   );

Parameters

x1

[in] X coordinate of the first point forming an ellipse.

y1

[in] Y coordinate of the first point forming an ellipse.

x2

[in] X coordinate of the second point forming an ellipse.

y2

[in] Y coordinate of the second point forming an ellipse.

clr

[in] Color in ARGB format.