MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / quantize_segment

Function quantize_segment

node-graph/nodes/path-bool/src/lib.rs:332–343  ·  view source on GitHub ↗

This quantization should potentially be removed since it's not conceptually necessary, but without it, the oak leaf in the Changing Seasons demo artwork is funky because quantization is needed for the top and bottom points to line up vertically.

(seg: PathSeg)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

push_subpathFunction · 0.85

Calls 3

qFunction · 0.85
QuadClass · 0.85
LineClass · 0.50

Tested by

no test coverage detected