flattens cubic bezier curve, returns PointF[segmentCount+1] array or empty array if <1 segments
See Implementation
flattens cubic bezier curve, returns PointF[segmentCount+1] array or empty array if <1 segments