Quad.initFromRect

Initializes a #graphene_quad_t using the four corners of the given #graphene_rect_t.

Parameters

ra #graphene_rect_t

Returns

the initialized #graphene_quad_t