Quick PDF logo

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 TQuickPDF0813.DrawArc(XPos, YPos, Radius, StartAngle, EndAngle: Double; 
  Pie, DrawOptions: Integer): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::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 QuickPDFDrawArc(int InstanceID, double XPos, double YPos, double Radius,
  double StartAngle, double EndAngle, int Pie, int DrawOptions)

Parameters

XPos Horizontal co-ordinate of the center of the arc
YPos Vertical co-ordinate of center of the arc
Radius Radius of the arc
StartAngle Angle to start drawing from
EndAngle Angle to end drawing at
Pie Draw the arms of the arc:
0 = No
1 = Yes
DrawOptions 0 = Outline
1 = Fill
2 = Fill and Outline
3 = Close, Fill and Outline (if Pie = 1)

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum