I asked a similar question on the Clutter irc channel a day or two ago.

Owen Taylor (I believe it was) confirmed that a custom ClutterGroup would be 
needed.

One of my colleagues has written a custom ClutterGroup to clip children to a 
triangle, and it does indeed work.

- Bob

On Feb 5, 2010, at 9:33 AM, donn wrote:

> I am trying to make sense of pyClutter 1.0. Could anyone point me to an
> example (or post one) that shows clipping from a path applied to child
> objects?
> 
> For example: A star shape that contains a bunch of moving rectangles
> which will travel/size/rotate with the star, but are clipped to the
> shape of the star.
> 
> I suspect this will involve a custom clutter.Group class of some kind,
> with cogl paths and an on_paint() method, but I can find no headway on
> the web so far.

Reply via email to