Line

Draws a segment of a freehand line.

void  Line(
   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 segment's first point.

y1

[in]  Y coordinate of the segment's first point.

x2

[in]  X coordinate of the segment's second point.

y2

[in]  Y coordinate of the segment's second point.

clr

[in]  Color in ARGB format.