Hide Comments
Hide Comments

TRSGPPath.CurveToRel(TPointF,TPointF,TPointF) Method

Comments (0)

Appends a curve to the current path.

The curve is defined by 4 points that depend on the end point of the current path :
 

The start point of the curve is the end point of the path.
 

The ControlPoint1 and ControlPoint2 parameters' coordinates specify the distances to the end point of the current path, on each axis, for each of the two control points of the curve.

The EndPoint parameter's coordinates specify the distances to the end point of the current path, on each axis, for the end point of the curve.
 

CurveToRel adds the two control points and the end point of the curve to the Points array. The added point is of type CurveTo. To move the start point of the line, call  MoveTo or  MoveToRel before calling SmoothCurveTo.

To find the end point of the path, call the  LastPoint method.
 

Namespace: RSGdiPlusGraphics

expandingSyntax

Parameters

ControlPoint1

Type: TPointF

ControlPoint2

Type: TPointF

EndPoint

Type: TPointF

Return Value

Type: TRSGPPath

expandingRemarks
expandingSee Also

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2016, Thomas G. Grubb