[clutter] clutter_color_shade behavior

From: Pierre-Luc Beaudoin <pierre-luc@squidy.info>
Date: Thu May 03 2007 - 13:45:36 EDT

Hi!

I'm not sure if I understand how clutter_color_shade works, can you tell
me if I'm wrong. I want a darker shade of my color, so I run
clutter_color_shade on it but the resulting color does not have the same
hue. It was more obvious when I tried with a shade factor of 1:

ClutterColor color;
ClutterColor color2;

clutter_color_parse("#FF0000", &color);
clutter_color_shade(&color, &color2, 1);

color is red,
color2 is now teal ("#00FFFF").

Yet again, am I using this function incorrectly?

Thanks,

Pierre-Luc

-- 
To unsubscribe send a mail to clutter+unsubscribe@o-hand.com
Received on Thu, 03 May 2007 13:45:36 -0400

This archive was generated by hypermail 2.1.8 : Wed May 09 2007 - 05:50:26 EDT