compute
abstract fun compute(previous: Offset, current: Offset, next: Offset, subsequent: Offset): Pair<Offset, Offset>
Computes the two control points for a cubic Bézier curve segment.
The first returned Offset corresponds to control point 1 (x1, y1) and the second to control point 2 (x2, y2), as defined in Path.cubicTo. https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Path#cubicTo(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float)
Return
A Pair containing the two control points for the curve segment.