Module beamui.graphics.flattener
Bezier curve and circle arc flattening routines.
Import line
import beamui .graphics .flattener;
Functions
Name | Description |
---|---|
flattenArc(output, center, radius, startAngle, deltaAngle, endpoints, minDist)
|
Convert circular arc into a list of points |
flattenCubicBezier(output, p0, p1, p2, p3, endpoints, minDist)
|
Convert cubic bezier curve into a list of points |
flattenQuadraticBezier(output, p0, p1, p2, endpoints, minDist)
|
Convert quadratic bezier curve into a list of points |
getMinDistFromMatrix(mat)
|