evas/canvas - just made standard computation.

SVN revision: 60379
This commit is contained in:
ChunEon Park 2011-06-16 08:21:39 +00:00
parent 439a53bdbd
commit 1bece16fc0
1 changed files with 2 additions and 2 deletions

View File

@ -715,8 +715,8 @@ evas_map_util_rotate(Evas_Map *m, double degrees, Evas_Coord cx, Evas_Coord cy)
xx = (x * cos(r));
yy = (x * sin(r));
x = xx + (y * cos(r + (M_PI / 2.0)));
y = yy + (y * sin(r + (M_PI / 2.0)));
x = xx - (y * sin(r));
y = yy + (y * cos(r));
p->px = p->x = x + cx;
p->py = p->y = y + cy;