Debenu Quick PDF logo

AddCurveToPath

Vector graphics, Path definition and drawing

Description

Adds a bezier curve to the current path.

The curve is drawn from the last point to the point defined by (EndX, EndY).

(CtAX, CtAY) and (CtBX, CtBY) define the two bezier control points.

Syntax

Delphi

function TDebenuPDFLibrary1811.AddCurveToPath(CtAX, CtAY, CtBX, CtBY, EndX, 
  EndY: Double): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::AddCurveToPath(CtAX As Double,
  CtAY As Double, CtBX As Double, CtBY As Double, EndX As Double,
  EndY As Double) As Long

DLL

int DPLAddCurveToPath(int InstanceID, double CtAX, double CtAY, double CtBX,
  double CtBY, double EndX, double EndY)

Parameters

CtAX The horizontal co-ordinate of the first control point
CtAY The vertical co-ordinate of the first control point
CtBX The horizontal co-ordinate of the second control point
CtBY The vertical co-ordinate of the second control point
EndX The horizontal co-ordinate of the end point of the bezier curve
EndY The vertical co-ordinate of the end point of the bezier curve

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport