Skip to main content

apply_layer_affine_to_rect

Function apply_layer_affine_to_rect 

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

Scales and translates a rectangle around the layer’s transform origin.