MCPcopy Create free account
hub / github.com/tdewolff/canvas / Settle

Method Settle

path_intersection.go:136–138  ·  view source on GitHub ↗

Settle is the same as Path.Settle, but faster if paths are already split. Each resulting path is a single filling path followed by its holes as subpaths.

(fillRule FillRule)

Source from the content-addressed store, hash-verified

134// Settle is the same as Path.Settle, but faster if paths are already split. Each resulting path
135// is a single filling path followed by its holes as subpaths.
136func (ps Paths) Settle(fillRule FillRule) Paths {
137 return bentleyOttmann(ps, nil, opSettle, fillRule)
138}
139
140// And returns the boolean path operation of path p AND q, i.e. the intersection of both.
141// It removes all self-intersections and overlapping areas, orients all filling paths CCW and all

Callers

nothing calls this directly

Calls 1

bentleyOttmannFunction · 0.85

Tested by

no test coverage detected