Rect.initFromRect

Initializes r using the given src rectangle.

This function will implicitly normalize the #graphene_rect_t before returning.

Parameters

src graphene.rect.Rect

a #graphene_rect_t

Return Value

Type: graphene.rect.Rect

the initialized rectangle