Debenu Quick PDF logo


Vector graphics


Draws an arc which is the result of cutting an ellipse between the start angle and the end angle. The angles are measured anti-clockwise with 0 being at the top of the ellipse. ie. 12 O'Clock = 0 degrees and 9 O'Clock is 90 degrees.



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


Function DebenuPDFLibrary1811.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


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


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 © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport