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

Function decimate

node-graph/nodes/vector/src/vector_nodes.rs:1619–1741  ·  view source on GitHub ↗
(
	_: impl Ctx,
	/// The vector paths to decimate.
	content: List<Vector>,
	/// The maximum distance a point can deviate from the simplified path before it is kept.
	#[default(5.)]
	#[unit(" px")]
	to

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 13

rdp_simplifyFunction · 0.85
element_mutMethod · 0.80
stroke_bezpath_iterMethod · 0.80
elementMethod · 0.80
popMethod · 0.80
append_bezpathMethod · 0.80
into_iterMethod · 0.45
pushMethod · 0.45
lenMethod · 0.45
is_emptyMethod · 0.45
move_toMethod · 0.45

Tested by

no test coverage detected