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

Function overlay

editor/src/messages/tool/common_functionality/measure.rs:447–481  ·  view source on GitHub ↗

Overlays measurement lines between selected and hovered bounds based on their spatial relationships.

(selected_bounds: Rect, hovered_bounds: Rect, transform: DAffine2, document_to_viewport: DAffine2, overlay_context: &mut OverlayContext)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

transitionMethod · 0.85
transitionMethod · 0.85

Calls 10

draw_dashed_rect_outlineFunction · 0.85
does_overlap_yFunction · 0.85
does_overlap_xFunction · 0.85
draw_zero_axis_crossingsFunction · 0.85
handle_two_axis_overlapFunction · 0.85
minMethod · 0.45
maxMethod · 0.45
centerMethod · 0.45

Tested by

no test coverage detected