summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorSubhransu Mohanty <sub.mohanty@samsung.com>2015-04-17 11:24:47 +0900
committerCedric BAIL <cedric@osg.samsung.com>2015-04-17 10:53:05 +0200
commit40bdc50a12975f927fc9490d9b81f5f597c56b33 (patch)
tree265515c21ca43c6fa971ab0b053d8615e368de30 /src/examples
parent451a15802add5ff08e763c04674018ae80dec466 (diff)
evas: update Evas_Object_VG examples to use eina_matrix api correctly after change.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/evas-vg-batman.c1
-rw-r--r--src/examples/evas/evas-vg-simple.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/examples/evas/evas-vg-batman.c b/src/examples/evas/evas-vg-batman.c
index 116150a..f17636d 100644
--- a/src/examples/evas/evas-vg-batman.c
+++ b/src/examples/evas/evas-vg-batman.c
@@ -148,6 +148,7 @@ main(void)
148 root = evas_object_vg_root_node_get(vg); 148 root = evas_object_vg_root_node_get(vg);
149 149
150 Eina_Matrix3 matrix; 150 Eina_Matrix3 matrix;
151 eina_matrix3_identity(&matrix);
151 eina_matrix3_scale(&matrix, 1.1, 1.1); 152 eina_matrix3_scale(&matrix, 1.1, 1.1);
152 evas_vg_node_transformation_set(root, &matrix); 153 evas_vg_node_transformation_set(root, &matrix);
153 154
diff --git a/src/examples/evas/evas-vg-simple.c b/src/examples/evas/evas-vg-simple.c
index b125e3f..61fc704 100644
--- a/src/examples/evas/evas-vg-simple.c
+++ b/src/examples/evas/evas-vg-simple.c
@@ -437,6 +437,7 @@ vector_set(int x, int y, int w, int h)
437 // apply some transformation 437 // apply some transformation
438 double radian = 30.0 * 2 * 3.141 / 360.0; 438 double radian = 30.0 * 2 * 3.141 / 360.0;
439 Eina_Matrix3 matrix; 439 Eina_Matrix3 matrix;
440 eina_matrix3_identity(&matrix);
440 eina_matrix3_rotate(&matrix, radian); 441 eina_matrix3_rotate(&matrix, radian);
441 442
442 Efl_VG *root = evas_object_vg_root_node_get(d.vg); 443 Efl_VG *root = evas_object_vg_root_node_get(d.vg);