Just a couple of other remarks on these two (parts I, II) proposals: Like the proposed gradient obj api function that sets an (affine) "fill_transform", there would be a similar one to set such on an image object:
void evas_object_image_fill_transform_set(obj, Evas_Transform *t); Note that this is NOT the same as transforming the object itself.. that's a separate thing (as would be raster-based filters one could apply on general objects). Such 'fill_transforms' should be used mostly for the purposes of using the image object as a texture - not for transforming "an image". The best way to do that would be via an object transform (which can then be a general projective one) and by having an image api func that would set the image obj's 'fill-policy' to none (or something like that), meaning that all image 'fill' attributes are ignored and the image is then always scaled to the size of the obj - ie. the image obj then acts like "an image" rather than like a plain rect which is being fill-textured with an image. But all this will take a bit longer to be implemented due to the fair amount of re-structuring of evas image internals needed to add support for it. If anyone is willing to try and work on that part in the meantime, let me know. One other api func that will be needed with general stroking (and also later when objects might support transforms or filters) is an api func to obtain an object's 'bounds' - ie. the actual bounding rectangle of the obj as drawn on the canvas. void evas_object_bounding_rect_get(obj, Evas_Coord *x, *y, *w, *h); This will be needed internally as well for correct 'hit detection' of such modified objects (eg. of thick stroked lines, polys,... transformed objs, etc). ____________________________________________________________ Great pay, great benefits, rewarding. Click for information on a healthcare career. http://thirdpartyoffers.juno.com/TGL2141/fc/Ioyw6i3oH0aMuCCxm9AWWu0rLnlZhHMOGuyhEcYIxHg0zbWPFduCZi/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel