transformBounds

fun transformBounds(r: Rect, res: Rect)

Transforms each corner of a #graphene_rect_t using the given matrix @m.

The result is the axis aligned bounding rectangle containing the coplanar quadrilateral.

See also: graphene_matrix_transform_point()

Since

1.0

Parameters

r

a #graphene_rect_t

res

return location for the bounds of the transformed rectangle