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