Quick PDF logo

AddArcToPath

Vector graphics, Path definition and drawing

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 TQuickPDF0813.AddArcToPath(CenterX, CenterY, TotalAngle: Double): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::AddArcToPath(CenterX As Double, CenterY As Double,
  TotalAngle As Double) As Long

DLL

int QuickPDFAddArcToPath(int InstanceID, double CenterX, double CenterY,
  double TotalAngle)

Parameters

CenterX The horizontal co-ordinate of the center of the arc
CenterY The vertical co-ordinate of the center of the arc
TotalAngle The 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.

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum