Rect.initFromRect

graphene.rect.Rect initFromRect(graphene.rect.Rect src) nothrow

Initializes r using the given src rectangle.

This function will implicitly normalize the #graphene_rect_t before returning.

Parameters

srca #graphene_rect_t

Returns

the initialized rectangle