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

◆ draw_line() [1/4]

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.

Parameters
penxtd::drawing::pen that determines the color, width, and style of the line.
pt1xtd::drawing::point structure that represents the first point to connect.
pt2xtd::drawing::point structure that represents the second point to connect.
Examples
graph_control.cpp.