Hello, > > 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.
That doesn't seem to be true. evas_object_polygon_point_add(obj,x,y)
adds the point (x,y) to the list of points, not the point
(x - min_x, y - min_y).
> 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?
No, I create a polygon and it is drawn at the wrong place.
Achim
--
________________________________________________________________________
| \_____/ |
Achim Blumensath \O/ \___/\ |
TU Darmstadt =o= \ /\ \|
www.mathematik.tu-darmstadt.de/~blumensath /"\ o----|
____________________________________________________________________\___|
pgprUqr0QgyI4.pgp
Description: PGP signature
------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
