PDF .NET Library Documentation - PDF Technologies, Inc.
This procedure adds a Bezier cubic curve segment to the path

Namespace:  PDFTech
Assembly:  PDFTechLib (in PDFTechLib.dll) Version: 1.0.0.0 (1.7.9.0)

Syntax

C#
public void DrawCurve(
	PDFPen pen,
	double X0,
	double Y0,
	double X1,
	double Y1,
	double X2,
	double Y2,
	double X3,
	double Y3
)
Visual Basic (Declaration)
Public Sub DrawCurve ( _
	pen As PDFPen, _
	X0 As Double, _
	Y0 As Double, _
	X1 As Double, _
	Y1 As Double, _
	X2 As Double, _
	Y2 As Double, _
	X3 As Double, _
	Y3 As Double _
)
Visual C++
public:
void DrawCurve(
	PDFPen^ pen, 
	double X0, 
	double Y0, 
	double X1, 
	double Y1, 
	double X2, 
	double Y2, 
	double X3, 
	double Y3
)

Parameters

pen
Type: PDFTech..::.PDFPen
X0
Type: System..::.Double
current point x value
Y0
Type: System..::.Double
current point y value
X1
Type: System..::.Double
First point x location
Y1
Type: System..::.Double
First point y location
X2
Type: System..::.Double
Second point x location
Y2
Type: System..::.Double
Second point y location
X3
Type: System..::.Double
Thirdth point x location
Y3
Type: System..::.Double
Thirdth point y location

Remarks

This procedure adds a Bezier cubic curve segment to the path starting at the current point as (x0, y0), using two points (x1, y1) and (x2, y2) as control points, and terminating at point (x3, y3). The new current point will be (x3, y3).

See Also