AddLineToPath

Vector graphics, Path definition and drawing

Description

Adds a line to the current path.

The line is drawn from the last point to the point defined by (EndX, EndY).

Syntax

Delphi

function TPDFlib.AddLineToPath(EndX, EndY: Double): Integer;

ActiveX

Function PDFlib::AddLineToPath(EndX As Double, EndY As Double) As Long

DLL

int DLAddLineToPath(int InstanceID, double EndX, double EndY);

Parameters

EndXThe horizontal co-ordinate of the end point of the line to add to the path
EndYThe vertical co-ordinate of the end point of the line to add to the path