void xtd::drawing::graphics::draw_line | ( | const xtd::drawing::pen & | pen, |
const xtd::drawing::point & | pt1, | ||
const point & | pt2 | ||
) |
Draws a line connecting two xtd::drawing::point structures.
pen | xtd::drawing::pen that determines the color, width, and style of the line. |
pt1 | xtd::drawing::point structure that represents the first point to connect. |
pt2 | xtd::drawing::point structure that represents the second point to connect. |