AddCurveToPath

Vector graphics, Path definition and drawing

Description

Adds a bezier curve to the current path.

The curve is drawn from the last point to the point defined by (EndX, EndY). (CtAX, CtAY) and (CtBX, CtBY) define the two bezier control points.

Syntax

Delphi

function TPDFlib.AddCurveToPath(CtAX, CtAY, CtBX, CtBY, EndX, EndY: Double): Integer;

ActiveX

Function PDFlib::AddCurveToPath(CtAX As Double, CtAY As Double, CtBX As Double, CtBY As Double, EndX As Double, EndY As Double) As Long

DLL

int DLAddCurveToPath(int InstanceID, double CtAX, double CtAY, double CtBX, double CtBY, double EndX, double EndY);

Parameters

CtAXThe horizontal co-ordinate of the first control point
CtAYThe vertical co-ordinate of the first control point The horizontal co-ordinate of the second control point
CtBX
CtBYThe vertical co-ordinate of the second control point
EndXThe horizontal co-ordinate of the end point of the bezier curve
EndYThe vertical co-ordinate of the end point of the bezier curve