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

Method render_thumbnail

editor/src/node_graph_executor/runtime.rs:452–509  ·  view source on GitHub ↗

If this is `Graphic` data, regenerate click targets and thumbnails for the layers in the graph, modifying the state and updating the UI.

(
		thumbnail_renders: &mut HashMap<NodeId, Vec<SvgSegment>>,
		parent_network_node_id: NodeId,
		graphic: &impl Render,
		bounds: RenderBoundingBox,
		responses: &mut VecDeque<FrontendMessage>,
	)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

absMethod · 0.80
render_svgMethod · 0.80
format_svgMethod · 0.80
to_svg_stringMethod · 0.80
render_complexityMethod · 0.45
insertMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected