DrawArc

Vector graphics

Description

Draw a circular arc on the selected page. The arc is drawn in a clockwise direction from StartAngle to EndAngle.

Syntax

Delphi

function TPDFlib.DrawArc(XPos, YPos, Radius, StartAngle, EndAngle: Double; Pie, DrawOptions: Integer): Integer;

ActiveX

Function PDFlib::DrawArc(XPos As Double, YPos As Double, Radius As Double, StartAngle As Double, EndAngle As Double, Pie As Long, DrawOptions As Long) As Long

DLL

int DLDrawArc(int InstanceID, double XPos, double YPos, double Radius, double StartAngle, double EndAngle, int Pie, int DrawOptions);

Parameters

XPosHorizontal co-ordinate of the center of the arc
YPosVertical co-ordinate of center of the arc
RadiusRadius of the arc Angle to start drawing from
StartAngle
EndAngleAngle to end drawing at
PieDraw the arms of the arc: 0 = No 1 = Yes
DrawOptions0 = Outline 1 = Fill 2 = Fill and Outline 3 = Close, Fill and Outline (if Pie = 1)