On Thu, Mar 4, 2010 at 7:30 PM, Gustavo Sverzut Barbieri
<barbi...@profusion.mobi> wrote:
> On Mon, Mar 1, 2010 at 11:40 AM, Cedric BAIL <moa.blueb...@gmail.com> wrote:
>> For the sake of consistency, I would like to propose this patch that
>> enable the possibility to move around polygons like any other evas
>> object. It comes with a patch to expedite. With this patch, it also
>> open the path to improve polygon rendering by calculating them only
>> when they are altered, not moved around.
>
> well, this was discussed a bit before, I agree that moving the poly
> object should move everything, but then people started to discuss what
> to do with resize, since the argument would be the same.
>
> well, resize for images is already different from what is expected...
> as it will not scale, but tile... however that rectangle itself is
> filled.
>
> one alternative proposed is to have all polygon points as float point
> pairs, that are relative to the object. then on resize, the points
> would be recalculated. That tends to be slower, but would work as
> expected.
>
> the last option is to have all points relative to the geometry itself,
> and rescale would just clip what gets out.

So resize would be another patch :-) Their is certainly rooms for
improvement, but I want to keep patch simple when I just want to fix
API. When it is, we can start a little round of speed race (We could
certainly remember span as long as we don't resize the polygon for
example).

If nobody is against this patch during next week I will commit it. I
will work on the resize patch and send it to the ML as soon as I have
something runnable.
-- 
Cedric BAIL

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to