Skip to main content

Module highlight

Module highlight 

Source
Available on crate feature internal-highlight only.
Expand description

Highlight support for running component instances.

Walks the LLR debug_info side table to map either a source location or an object-tree ElementRc back to runtime flat item indices, then reads geometries via ItemRc::geometry() and transforms them through map_to_item_tree.

Structs§

HighlightedRect
The rectangle of an element, which may be rotated around its center.

Enums§

ElementPositionFilter
Argument to filter the elements returned by the highlight helpers.

Functions§

element_positions
Return the screen rectangles of every runtime item matching the given ElementRc, optionally filtering out those clipped by an ancestor. Public for downstream tooling such as the LSP element selection, whose hit-testing needs the ExcludeClipped filter.