Function point_for
pub fn point_for(element: &Element, anchor: Anchor) -> Result<Point, Error>Expand description
Resolve an Element’s current bounds to a screen Point using anchor.
Reads element.bounds. Returns Error::NoElementBounds if the element
has no bounds (e.g. an off-screen or virtual node).
Staleness: Element is a snapshot — its bounds were captured when the
caller fetched it from the provider. If the UI may have moved since then,
re-fetch the element first (e.g. via crate::Locator).