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

Function split_oversized_region

node-graph/nodes/gstd/src/render_cache.rs:243–299  ·  view source on GitHub ↗

Recursively subdivides a region until all sub-regions have area <= max_region_area. Uses axis-aligned splits on the longest dimension.

(region: RenderRegion, max_region_area: u32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

group_into_regionsFunction · 0.85

Calls 8

tiles_boundsFunction · 0.85
sizeMethod · 0.45
minMethod · 0.45
iterMethod · 0.45
maxMethod · 0.45
pushMethod · 0.45
is_emptyMethod · 0.45
extendMethod · 0.45

Tested by

no test coverage detected