AddArcToPath

Vector graphics, Path definition and drawing, Form fields, Annotations and hotspot links

Description

Adds an arc to the current path.

The arc is drawn around a center point for a specified number of degrees either clockwise or anti-clockwise.

Syntax

Delphi

function TPDFlib.AddArcToPath(CenterX, CenterY, TotalAngle: Double): Integer;

ActiveX

Function PDFlib::AddArcToPath(CenterX As Double, CenterY As Double, TotalAngle As Double) As Long

DLL

int DLAddArcToPath(int InstanceID, double CenterX, double CenterY, double TotalAngle);

Parameters

CenterXThe horizontal co-ordinate of the center of the arc
CenterYThe vertical co-ordinate of the center of the arc
TotalAngleThe angular length of the arc. If this value is positive the arc will be drawn in a clockwise direction. A negative value will result in an arc drawn in an anti-clockwise direction. This value must be greater or less than 0. A value of 360 will result in a full circle being drawn.