public override void VisitCurvetoQuadraticSmoothRel(SvgPathSegCurvetoQuadraticSmoothRel segment) { var cx = 2 * CurPenX - LastX2; var cy = 2 * CurPenY - LastY2; UpdateRelXy(segment.X, segment.Y); LastX2 = cx; LastY2 = cy; }
public override SvgPathSeg VisitCurvetoQuadraticSmoothRel(SvgPathSegCurvetoQuadraticSmoothRel segment) => new SvgPathSegCurvetoQuadraticSmoothAbs(_x += segment.X, _y += segment.Y);
public virtual void VisitCurvetoQuadraticSmoothRel(SvgPathSegCurvetoQuadraticSmoothRel segment) => DefaultVisit(segment);
public override void VisitCurvetoQuadraticSmoothRel(SvgPathSegCurvetoQuadraticSmoothRel segment) => EmitSmoothQuadraticCurveto(segment);
public override void VisitCurvetoQuadraticSmoothRel(SvgPathSegCurvetoQuadraticSmoothRel segment) => this.SmoothQuadraticBezierTo(new PointF(segment.X, segment.Y) + currentPoint);