transformRect

fun transformRect(r: Rect, res: Quad)

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

The result is a coplanar quadrilateral.

See also: graphene_matrix_transform_point()

Since

1.0

Parameters

r

a #graphene_rect_t

res

return location for the transformed quad