pub fn apply_layer_affine_to_rect(
rect: Rect,
layer_bounds: Rect,
layer: &GraphicsLayer,
) -> RectExpand description
Scales and translates a rectangle around the layer’s transform origin.
pub fn apply_layer_affine_to_rect(
rect: Rect,
layer_bounds: Rect,
layer: &GraphicsLayer,
) -> RectScales and translates a rectangle around the layer’s transform origin.