projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
439a53b
)
evas/canvas - just made standard computation.
author
ChunEon Park
<hermet@hermet.pe.kr>
Thu, 16 Jun 2011 08:21:39 +0000
(08:21 +0000)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Thu, 16 Jun 2011 08:21:39 +0000
(08:21 +0000)
SVN revision: 60379
legacy/evas/src/lib/canvas/evas_map.c
patch
|
blob
|
history
diff --git
a/legacy/evas/src/lib/canvas/evas_map.c
b/legacy/evas/src/lib/canvas/evas_map.c
index
d3968fe
..
7899e1d
100644
(file)
--- a/
legacy/evas/src/lib/canvas/evas_map.c
+++ b/
legacy/evas/src/lib/canvas/evas_map.c
@@
-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;