flattenBezier

flatten bezier curve function, writes to provided buffer instead of allocation

  1. PointF[] flattenBezier(PointF[] cp, int segmentCountInclusive)
  2. void flattenBezier(PointF[] cp, int segmentCountInclusive, PointF[] outSegments)
    void
    flattenBezier
    (
    alias BezierFunc
    )
    if (
    is(typeof(BezierFunc) == function)
    )

Meta