def outline.join.back.kind

gralha-svg-render@0.1.0.1 · svg.bend:1500

import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base

1500# A reversal (v = -u) gets the half circle through p + r u when joins are round.
1501def outline.join.back.kind(join: U32, +p: Point, +u: Point, +r: F32, +scale: F32, acc: List<&2, Point>) -> List<&2, Point>:
1502  match join:
1503    case 1: outline.sweep(p, r, point.normal(u), F32.neg(3.141592653589793), scale, acc)
1504    case _: acc

Uses (10)

Used by (1)