Rect.interpolate

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

class Rect
void
interpolate

Parameters

b graphene.rect.Rect

a #graphene_rect_t

factor double

the linear interpolation factor

res graphene.rect.Rect

return location for the interpolated rectangle