summaryrefslogtreecommitdiff
path: root/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c b/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c
index 36edaabdba..82e6fc9df0 100644
--- a/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c
+++ b/src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c
@@ -694,6 +694,10 @@ _parse_transformation_matrix(const char *value)
694 } 694 }
695 else if (state == SVG_MATRIX_ROTATE) 695 else if (state == SVG_MATRIX_ROTATE)
696 { 696 {
697 //Transform to signed.
698 points[0] = fmod(points[0], 360);
699 if (points[0] < 0) points[0] += 360;
700
697 if (pt_count == 1) 701 if (pt_count == 1)
698 { 702 {
699 eina_matrix3_rotate(matrix, points[0] * (M_PI/180.0)); 703 eina_matrix3_rotate(matrix, points[0] * (M_PI/180.0));