Skip to main content

transform_rect

Function transform_rect 

Source
pub fn transform_rect(transform: &Matrix, rect: Rect) -> Rect
Expand description

Flutter MatrixUtils.transformRect: the bounding box of the four transformed corners. Flutter’s translation/scale/affine fast paths are skipped; they compute the same numbers.