def outline.plain

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

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

1774# An undashed subpath is outlined whole; only a dash pattern measures it.
1775def outline.plain(closed: Bool, pts: List<&2, Point>, +r: F32, +js: Joins, +scale: F32, acc: List<&2, Edge>) -> List<&2, Edge>:
1776  match closed:
1777    case True{}: outline.closed(pts, r, js, scale, acc)
1778    case False{}: outline.open(pts, r, js, scale, acc)

Uses (8)

Used by (1)