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

ActiveX

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

DLL

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