drawPathCurveToQuadraticBezierSmoothAbsolute method

void drawPathCurveToQuadraticBezierSmoothAbsolute({
  1. required double x,
  2. required double y,
})

DrawPathCurveToQuadraticBezierSmoothAbsolute() draws a quadratic Bezier curve (using absolute 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, DrawPathCurveToQuadraticBezierSmoothAbsolute 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.

  • x x ordinate of final point
  • y y ordinate of final point

Implementation

void drawPathCurveToQuadraticBezierSmoothAbsolute({
  required double x,
  required double y,
}) =>
    _magickWandBindings.DrawPathCurveToQuadraticBezierSmoothAbsolute(
      _wandPtr,
      x,
      y,
    );