Achim wrote:
> I've found a bug in the polygon drawing code of evas: In the file
> e17/libs/evas/src/lib/canvas/evas_object_polygon.c in function
> evas_object_polygon_render the lines
> 
>   p->x + obj->cur.geometry.x + x, 
>   p->y + obj->cur.geometry.y + y);
> 
> should read
> 
>   p->x + x, 
>   p->y + y);

The current code has the polygon's coordinates in the object's
coordinate space. E.g. relative to the object (although the object size
is ignored).  By default an object is located at (0,0) which means the
two spaces match up. If we change it, then one would not be able to use
evas_object_move() to move a polygon.

So, I don't think this is a bug, but rather just behavior that is other
than what you expected. Are you moving a polygon object and expecting it
not to move?

rephorm


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to