Skip to main content

Module stroke

Module stroke 

Source
Expand description

Stroke rasterization.

Public entry point is stroke; the helpers (stroke_narrow, stroke_wide, and the path-shaping functions in the private path submodule) are crate-internal implementation details.

Algorithmic provenance: the splitting of stroking into flatten → dash → narrow/wide → outline-expansion mirrors Splash::stroke and friends in splash/Splash.cc; refer there for the spec interpretation if a stroke edge case looks wrong.

Structs§

StrokeParams
Parameters governing how a stroke is rendered.

Functions§

stroke
Top-level stroke entry point.