[][src]Function conrod_core::graph::algo::scroll_offset

pub fn scroll_offset(graph: &Graph, idx: Id) -> Point

Return the scroll_offset for the widget at the given index.

The offset is retrieved from the widget that is the immediate depth_parent of the widget at the given idx unless: