Rect.initFromRect

Initializes @r using the given @src rectangle.

This function will implicitly normalize the #graphene_rect_t before returning.

class Rect
initFromRect

Parameters

src Rect

a #graphene_rect_t

Return Value

Type: Rect

the initialized rectangle

Meta