Function webrender::spatial_tree::get_external_scroll_offset

source ยท
pub fn get_external_scroll_offset<S: SpatialNodeContainer>(
    spatial_tree: &S,
    node_index: SpatialNodeIndex,
) -> LayoutVector2D
Expand description

Calculate the accumulated external scroll offset for a given spatial node.