evas: update Evas_Object_VG examples to use eina_matrix api correctly after change.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Subhransu Mohanty 2015-04-17 11:24:47 +09:00 committed by Cedric BAIL
parent 451a15802a
commit 40bdc50a12
2 changed files with 2 additions and 0 deletions

View File

@ -148,6 +148,7 @@ main(void)
root = evas_object_vg_root_node_get(vg);
Eina_Matrix3 matrix;
eina_matrix3_identity(&matrix);
eina_matrix3_scale(&matrix, 1.1, 1.1);
evas_vg_node_transformation_set(root, &matrix);

View File

@ -437,6 +437,7 @@ vector_set(int x, int y, int w, int h)
// apply some transformation
double radian = 30.0 * 2 * 3.141 / 360.0;
Eina_Matrix3 matrix;
eina_matrix3_identity(&matrix);
eina_matrix3_rotate(&matrix, radian);
Efl_VG *root = evas_object_vg_root_node_get(d.vg);