Matrix.transformBounds

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.Matrix.transformPoint

class Matrix
void
transformBounds

Parameters

r graphene.rect.Rect

a #graphene_rect_t

res graphene.rect.Rect

return location for the bounds of the transformed rectangle