Hi guys,

The Clutter cookbook shows how to create a non rectangular shaped actor.
(Ex. A star shape).
Let's say that we have the star shape as a cairo context, and we would like
to display this cairo context as an Actor
*which does not accept mouse events outside its path*.

For this purpose I think we need to define the Cogl path. I can get the *
cairo_path_t** from the context, and then obtain the *ClutterPath* with *
clutter_path_add_cairo_path()*. At this point
we can have the cairo shape defined as a Cogl Path but I don't know how I
can correlate Cogl and Cairo inside a custom actor.
The actor will show the Cairo graphics not any cogl drawings.

Any hints? Thanks!

-- 
V. Ogla Sungutay
http://www.lyciasoft.com
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to