type Edge

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

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

90# Paths are flattened in user coordinates. The fill-only closing edge of an
91# open subpath is kept separate from its stroked edges.
92# An edge is one heap node: its endpoints are stored as four numbers, so
93# building, walking and freeing edge lists touch half the nodes a pair of
94# points would.
95type Edge is Data:
96  Edge{x0: F32, y0: F32, x1: F32, y1: F32, stroke: Bool, closed: Bool}

Uses (2)

Used by (75)