Skip to content

Add hatching algorithm to Path and FlattenedPath#186

Open
abey79 wants to merge 8 commits into
masterfrom
pr3-hatch-algo
Open

Add hatching algorithm to Path and FlattenedPath#186
abey79 wants to merge 8 commits into
masterfrom
pr3-hatch-algo

Conversation

@abey79

@abey79 abey79 commented Jan 4, 2026

Copy link
Copy Markdown
Owner

Add low-level support for hatching closed polygon. This supports polygons with holes via compound Path. In such case, the first sub-path is considered to be the exterior boundary, and the subsequent sub-paths holes.

Change summary:

  • added low-level hatch_polygon and HatchParams
  • added Polyline::hatch(), FlattenedPath::hatch() and Path::hatch()

This is part 3 of 6 in a stack made with GitButler:

@abey79 abey79 added vsvg Relates to vsvg feature New feature labels Jan 4, 2026
@abey79 abey79 force-pushed the pr3-hatch-algo branch 2 times, most recently from 3982847 to 1d2ef30 Compare February 21, 2026 13:08
@abey79 abey79 force-pushed the pr3-hatch-algo branch 2 times, most recently from 4221e42 to 9fcc547 Compare February 22, 2026 20:29
Base automatically changed from pr2-buffer to master March 1, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature vsvg Relates to vsvg

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant