Skip to content

Conversation

@abey79
Copy link
Owner

@abey79 abey79 commented Jan 4, 2026

This PR does the following:

  • Remove geo feature flag from vsvg - geo is now a required dependency
  • Add Path::to_geo_polygon(tolerance) to convert BezPath-based paths to geo::Polygon
  • Add Polyline::to_geo_polygon() to convert polylines to geo::Polygon
  • Add Path::buffer(distance, tolerance) and Polyline::buffer(distance) for polygon expand/shrink operations
  • Add ToGeoPolygonError enum with variants: ExteriorNotClosed, ExteriorTooFewPoints, InteriorNotClosed(usize), InteriorTooFewPoints(usize), EmptyPath, InvalidPolygon

This is part 2 of 4 in a stack made with GitButler:

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.

2 participants