Rect.initFromRect

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