void xtd::drawing::graphics::draw_curve | ( | const pen & | pen, |
const std::vector< xtd::drawing::point > & | points, | ||
size_t | offset, | ||
size_t | number_of_segments | ||
) |
Draws a cardinal spline through a specified array of xtd::drawing::point structures. The drawing begins offset from the beginning of the array.
Draws a cardinal spline through a specified array of xtd::drawing::point structures using a specified tension. The drawing begins offset from the beginning of the array.
pen | xtd::drawing::pen that determines the color, width, and style of the curve. |
points | Array of xtd::drawing::point structures that define the spline. |
offset | Offset from the first element in the array of the points parameter to the starting point in the curve. |
number_of_segments | Number of segments after the starting point to include in the curve. |