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

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: