Skip to main content

apply_layer_to_rect

Function apply_layer_to_rect 

Source
pub fn apply_layer_to_rect(
    rect: Rect,
    layer_bounds: Rect,
    layer: &GraphicsLayer,
) -> Rect
Expand description

Returns the axis-aligned bounds after the complete layer transform.