summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_private.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-06-16 16:28:19 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-08-21 16:40:31 +0200
commit7cb92ff35d3e49c53368b6fe4ade1d2a732018fc (patch)
tree90628a6c6b4e62f507a78ad7a4d8b1e754a453b8 /src/lib/evas/canvas/evas_vg_private.h
parentd595324a8dbccabf80d13d8f22e59c6166b4c2b6 (diff)
evas: add support for interpolating Efl_VG_Node tree.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_private.h')
-rw-r--r--src/lib/evas/canvas/evas_vg_private.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h
index cc5222f8f3..8ee62b669e 100644
--- a/src/lib/evas/canvas/evas_vg_private.h
+++ b/src/lib/evas/canvas/evas_vg_private.h
@@ -6,12 +6,15 @@
6typedef struct _Efl_VG_Base_Data Efl_VG_Base_Data; 6typedef struct _Efl_VG_Base_Data Efl_VG_Base_Data;
7typedef struct _Efl_VG_Container_Data Efl_VG_Container_Data; 7typedef struct _Efl_VG_Container_Data Efl_VG_Container_Data;
8typedef struct _Efl_VG_Gradient_Data Efl_VG_Gradient_Data; 8typedef struct _Efl_VG_Gradient_Data Efl_VG_Gradient_Data;
9typedef struct _Efl_VG_Interpolation Efl_VG_Interpolation;
9 10
10struct _Efl_VG_Base_Data 11struct _Efl_VG_Base_Data
11{ 12{
12 const char *name; 13 const char *name;
13 14
14 Eina_Matrix3 *m; 15 Eina_Matrix3 *m;
16 Efl_VG_Interpolation *intp;
17
15 Efl_VG *mask; 18 Efl_VG *mask;
16 Ector_Renderer *renderer; 19 Ector_Renderer *renderer;
17 20
@@ -41,6 +44,15 @@ struct _Efl_VG_Gradient_Data
41 Efl_Gfx_Gradient_Spread s; 44 Efl_Gfx_Gradient_Spread s;
42}; 45};
43 46
47struct _Efl_VG_Interpolation
48{
49 Eina_Quaternion rotation;
50 Eina_Quaternion perspective;
51 Eina_Point_3D translation;
52 Eina_Point_3D scale;
53 Eina_Point_3D skew;
54};
55
44static inline Efl_VG_Base_Data * 56static inline Efl_VG_Base_Data *
45_evas_vg_render_pre(Efl_VG *child, Ector_Surface *s, Eina_Matrix3 *m) 57_evas_vg_render_pre(Efl_VG *child, Ector_Surface *s, Eina_Matrix3 *m)
46{ 58{