Quad.initFromRect
graphene.quad.Quad initFromRect(graphene.rect.Rect r)Initializes a #graphene_quad_t using the four corners of the given #graphene_rect_t.
Parameters
r | a #graphene_rect_t |
Returns
the initialized #graphene_quad_t
graphene.quad.Quad initFromRect(graphene.rect.Rect r)Initializes a #graphene_quad_t using the four corners of the given #graphene_rect_t.
r | a #graphene_rect_t |