Skip to main content

spline_bezier3_bounds

spline_bezier3_bounds(result, result_offset, result_stride, p0, p1, p2, p3)

Compute bounds of a 3-rd degree bezier curve Note that this is a 1d case solver Lower bound will be written into result[offset], upper bounds will be written into result[offset+result_stride]

Kind: global function
See: https://github.com/adobe-webplatform/Snap.svg/blob/c8e483c9694517e24b282f8f59f985629f4994ce/src/path.js#L856

ParamTypeDescription
resultArray.<number> | Float32Array
result_offsetnumberoffset into the result array
result_stridenumber
p0number
p1number
p2number
p3number