Matrix.transformRect
void transformRect(graphene.rect.Rect r, out graphene.quad.Quad res)Transforms each corner of a #graphene_rect_t using the given matrix m.
The result is a coplanar quadrilateral.
See also: [graphene.matrix.Matrix.transformPoint]
Parameters
r | a #graphene_rect_t |
res | return location for the transformed quad |