interpolate

fun interpolate(b: Rect, factor: Double, res: Rect)

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

Since

1.0

Parameters

b

a #graphene_rect_t

factor

the linear interpolation factor

res

return location for the interpolated rectangle