color: Add Color.interpolate() method

The interpolate() method does what it says on the tin: it interpolates
between two colors using the given factor.

ClutterColor uses it to register a progress function for Intervals.
This commit is contained in:
Emmanuele Bassi
2010-10-11 15:04:54 +01:00
parent 7e112472b5
commit d5376bf317
3 changed files with 54 additions and 0 deletions

View File

@ -973,6 +973,7 @@ clutter_color_subtract
clutter_color_lighten
clutter_color_darken
clutter_color_shade
clutter_color_interpolate
<SUBSECTION>
ClutterParamSpecColor