On Wed, 2010-07-21 at 18:45 +0100, donn wrote:
> On 21/07/2010 19:24, [email protected] wrote:
> > ClutterRectangle* pRect = clutter_rectangle_new_with_color
> > (clutter_color_new (0, 0, 0, 0) );
> I *think* that last 0 means alpha = 0 : i.e. it's invisible right from 
> the start.

Yes, that's the case.

> > clutter_actor_set_opacity( CLUTTER_ACTOR(pRect), 125);
> Not sure what 125 of invisible looks like ;)
> 
> I don't know the answer in re the outline, but opacity and I are not the 
> best of friends either. Maybe the above will help you debug.

I added a cookbook recipe explaining what I know about opacity (after
lots of questions to the Clutter team and experimenting) which might
help:

http://docs.clutter-project.org/docs/clutter-cookbook/unstable/actors-opacity.html

Hopefully the cookbook's going to get more useful over time as we add
more stuff to it.

Elliot
-- 
Elliot Smith
Intel Open Source Technology Centre

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to