Matrix.transformBounds

void transformBounds(graphene.rect.Rect r, out graphene.rect.Rect res)

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]

Parameters

ra #graphene_rect_t
resreturn location for the bounds of the transformed rectangle