On Wed, 11 May 2011 11:44:51 +0300 Mika Laitio <lam...@pilppa.org> said:
> >> Did you look at evas polygon object ? It should almost handle your use > >> case. Only the evas_object_resize isn't defined on it (so the > >> behaviour could be added/defined without breaking backward > >> compatibility). > > > > you'd have to be very careful as you have to make thick lines. the polygon > > obj will, if you define the same coordinates for points in an enclosed > > polygon, end up being invisible as it's a 0 sized poly :) > > > > if you want to do vector stuff - use cairo and render to an image object. > > that's the best way to get it done. > > Hmm, so instead of using evas I should just use cairo API and libs directly? > > What about if I want to have enlightenment widget in the end as a > result. Should I then hide the cairo details under smart object API? > > http://ists.pl/~alias/enlightenment/docs/cookbook/ch03s03.html > > was the most uptodate example I found from smart object creation > altought it still used "evas_smart_new" which has now been replaced with > struct Evas_Smart_Class and evas_smart_class_new method. what kind of enlightenment widget? elm? e17 itself? or just inside your app? -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel