Prev
MagickWand For PHP
Manual


Next

DrawPathCurveToQuadraticBezierSmoothRelative

DrawPathCurveToQuadraticBezierSmoothRelative -- draws a quadratic Bezier curve from the current point using relative coordinates

Description

void DrawPathCurveToQuadraticBezierSmoothRelative( DrawingWand drw_wnd, float x, float y )

Draws a quadratic Bezier curve (using relative coordinates) from the current point to (x, y). The control point is assumed to be the reflection of the control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not a DrawPathCurveToQuadraticBezierAbsolute, DrawPathCurveToQuadraticBezierRelative, DrawPathCurveToQuadraticBezierSmoothAbsolut or DrawPathCurveToQuadraticBezierSmoothRelative, assume the control point is coincident with the current point). At the end of the command, the new current point becomes the final (x, y) coordinate pair used in the polybezier.


A description of each parameter follows:

drw_wnd A DrawingWand resource
x X ordinate of final point
y Y ordinate of final point


Prev
DrawPathCurveToQuadraticBezierSmoothAbsolute
Up Next
DrawPathCurveToRelative