Canvasity.quadraticCurveYo

Extend the current subpath with a quadratic Bezier curve.

The curve will go from the current end point (or the control point if the current path is empty) to the given point, which will become the new end point. The curve will be tangent toward the control point at both ends. The current transform at the time that this is called will affect both points passed in.

Tip: to make multiple curves join smoothly, ensure that each new end point is on a line between the adjacent control points.

  1. void quadraticCurveYo(float cx, float cy, float x, float y)
    struct Canvasity
    nothrow @nogc
    void
    quadraticCurveYo
    (
    float cx
    ,
    float cy
    ,
    float x
    ,
    float y
    )
  2. void quadraticCurveYo(T c, T p)
  3. this(Image buffer, CanvasOptions options)
  4. void initialize(Image buffer, CanvasOptions options)

Meta