On Fri, 2008-05-23 at 19:29 +0530, harish haswani wrote:
>  
> How can i draw generic shapes like triangle, hexagon and all and how
> can i apply texture on such shapes.

you have to subclass ClutterActor and override the ::paint() virtual
function; inside it, you can call GL primitives and draw complex shapes
the way to prefer.

Clutter 0.7 (current trunk) has a reworked low-level API for portable
drawing of primitives on both GL and GLES platforms, so you might want
to check that as well.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, OpenedHand Ltd.
Unit R, Homesdale Business Centre
216-218 Homesdale Rd., Bromley - BR12QZ
http://www.o-hand.com

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

Reply via email to