Quick PDF logo

DrawEllipticArc

Vector graphics

Description

Draws an arc which is the result of cutting an ellipse between the start angle and the end angle. The angles are measured clockwise with 0 being at the top of the ellipse.

Syntax

Delphi

function TQuickPDF0813.DrawEllipticArc(XPos, YPos, Width, Height, StartAngle, 
  EndAngle: Double; Pie, DrawOptions: Integer): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::DrawEllipticArc(XPos As Double, YPos As Double,
  Width As Double, Height As Double, StartAngle As Double,
  EndAngle As Double, Pie As Long, DrawOptions As Long) As Long

DLL

int QuickPDFDrawEllipticArc(int InstanceID, double XPos, double YPos, double Width,
  double Height, double StartAngle, double EndAngle, int Pie,
  int DrawOptions)

Parameters

XPos The horizontal co-ordinate of the center of the ellipse
YPos The vertical co-ordinate of the center of the ellipse
Width The width of the ellipse
Height The height of the ellipse
StartAngle The angle to start the curve at
EndAngle The angle to end the curve 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