quadToCubic

inline fun <T> quadToCubic(x0: Double, y0: Double, xc: Double, yc: Double, x1: Double, y1: Double, bezier: (qx0: Double, qy0: Double, qx1: Double, qy1: Double, qx2: Double, qy2: Double, qx3: Double, qy3: Double) -> T): T