Maybe the C API is more useful in C because you more often have direct
access to color instance. For instance, maybe you would do something
like this:
clutter_color_darken(default_color, thing->color);
redraw_thing(thing);

But in C++ we will tend to do copy-by-value instead of allowing that
direct access. I suggest that we stick to 
  color.darken();
for now, and add more efficient versions later if necessary.

By the way, this particular function is rather strange to me. It
"Darkens src by a fixed amount, and saves the changed color in dest",
but I wonder when I would ever want to darken by some unknown
unspecified amount.

-- 
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to