Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.47 KB

constructing-and-drawing-curves.md

File metadata and controls

24 lines (19 loc) · 1.47 KB
title description ms.date helpviewer_keywords ms.assetid
Constructing and Drawing Curves
Learn how GDI+ supports constructing and drawing ellipses, arcs, cardinal splines, and Bézier splines.
03/30/2017
drawing [Windows Forms], curves
examples [Windows Forms], drawing curves
curves [Windows Forms], drawing
76e92623-4130-4644-b867-faca58bdb3a2

Constructing and Drawing Curves

GDI+ supports several types of curves: ellipses, arcs, cardinal splines, and Bézier splines. An ellipse is defined by its bounding rectangle; an arc is a portion of an ellipse defined by a starting angle and a sweep angle. A cardinal spline is defined by an array of points and a tension parameter — the curve passes smoothly through each point in the array, and the tension parameter influences the way the curve bends. A Bézier spline is defined by two endpoints and two control points the curve does not pass through the control points, but the control points influence the direction and bend as the curve goes from one endpoint to the other.

In This Section

How to: Draw Cardinal Splines
Describes cardinal splines and how to draw them.

How to: Draw a Single Bézier Spline
Describes a Bézier spline and how to draw one.

How to: Draw a Sequence of Bézier Splines
Explains how to draw several Bézier splines in sequence.