Rect.interpolate

void interpolate(graphene.rect.Rect b, double factor, out graphene.rect.Rect res)

Linearly interpolates the origin and size of the two given rectangles.

Parameters

ba #graphene_rect_t
factorthe linear interpolation factor
resreturn location for the interpolated rectangle