Quad.initFromRect

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

class Quad
initFromRect

Parameters

r Rect

a #graphene_rect_t

Return Value

Type: Quad

the initialized #graphene_quad_t

Meta