Expand description
Analytical stroke offset expansion, unit normal evaluation, and cap/join generation.
Structs§
- Stroke
Options - Stroke styling parameters for analytical hardware expansion.
Enums§
Functions§
- dash_
quadratics - Subdivides a sequence of quadratic Bézier curves into contiguous “on” dash sub-paths
according to an SVG
stroke-dasharraypattern with phase offset0.0. - dash_
quadratics_ with_ offset - Subdivides a sequence of quadratic Bézier curves into contiguous “on” dash sub-paths
according to a
dasharraypattern and phaseoffset(Canvas2DlineDashOffset/ SVGstroke-dashoffset). - expand_
stroke_ quadratics - Expands a sequence of connected quadratic curves into a closed outline representing the stroked envelope.
- offset_
quadratic - Expands a quadratic curve into parallel offset curves at distance
+offsetand-offset. - quadratic_
subcurve - Extracts the sub-curve of
qover parameter interval[t0, t1](0.0 <= t0 <= t1 <= 1.0) via exact De Casteljau subdivision. - unit_
normal - Computes the 2D unit normal vector (-dy, dx) for a given tangent vector.