summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_private.h
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2019-10-02 13:21:35 +0900
committerJunsuChoi <jsuya.choi@samsung.com>2019-10-02 14:19:30 +0900
commit6deb21f9f9e326921c16dabbd774b8d1666867c8 (patch)
tree90e85b1c5a0a761bf912b8a0fb99f6d352254343 /src/lib/evas/canvas/evas_vg_private.h
parent94c193e40b3111664344bf41beb22006bfab2670 (diff)
Efl.Gfx.Vg.Value_Provider: Introduce property change feature of Efl.Ui.Animation_View
Summary: Efl.Gfx.Vg.Value_Provider is an object for integrating and managing the properties of vector objects. These values are dependent on the keypath. Keypath is the target a specific content or a set of contents that will be updated. It can include the specific name of the contents, wildcard(*) or Globstar(**). The valueProvider is borrowed from another library that uses a vector object of type json, such as Efl.Ui.Animation_View (https://github.com/airbnb/lottie-ios/blob/5fc0e59e0cb85d3586b1d0d1cf4a2c9669b91d15/lottie-swift/src/Public/iOS/AnimatedControl.swift#L50) This feature should be used with some patches that apply to the vg json loader and Efl.Canvas.Vg.Object. Test Plan: N/A Reviewers: Hermet, kimcinoo, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9874
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_private.h')
-rw-r--r--src/lib/evas/canvas/evas_vg_private.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h
index 6dcd7215dd..9ec89633c2 100644
--- a/src/lib/evas/canvas/evas_vg_private.h
+++ b/src/lib/evas/canvas/evas_vg_private.h
@@ -9,6 +9,8 @@ typedef struct _Efl_Canvas_Vg_Gradient_Data Efl_Canvas_Vg_Gradient_Data;
9typedef struct _Efl_Canvas_Vg_Interpolation Efl_Canvas_Vg_Interpolation; 9typedef struct _Efl_Canvas_Vg_Interpolation Efl_Canvas_Vg_Interpolation;
10typedef struct _Efl_Canvas_Vg_Object_Data Efl_Canvas_Vg_Object_Data; 10typedef struct _Efl_Canvas_Vg_Object_Data Efl_Canvas_Vg_Object_Data;
11 11
12typedef enum _Efl_Gfx_Vg_Value_Provider_Change_Flag Efl_Gfx_Vg_Value_Provider_Change_Flag;
13
12typedef struct _Vg_Cache 14typedef struct _Vg_Cache
13{ 15{
14 Eina_Hash *vfd_hash; 16 Eina_Hash *vfd_hash;
@@ -128,6 +130,15 @@ struct _Efl_Canvas_Vg_Interpolation
128 Eina_Point_3D skew; 130 Eina_Point_3D skew;
129}; 131};
130 132
133enum _Efl_Gfx_Vg_Value_Provider_Change_Flag
134{
135 EFL_GFX_VG_VALUE_PROVIDER_CHANGE_FLAG_NONE = 0,
136 EFL_GFX_VG_VALUE_PROVIDER_CHANGE_FLAG_FILL_COLOR = 2,
137 EFL_GFX_VG_VALUE_PROVIDER_CHANGE_FLAG_STROKE_COLOR = 4,
138 EFL_GFX_VG_VALUE_PROVIDER_CHANGE_FLAG_STROKE_WIDTH = 8,
139 EFL_GFX_VG_VALUE_PROVIDER_CHANGE_FLAG_TRANSFORM_MATRIX = 16
140};
141Efl_Gfx_Vg_Value_Provider_Change_Flag efl_gfx_vg_value_provider_changed_flag_get(Eo *obj);
131 142
132void evas_cache_vg_init(void); 143void evas_cache_vg_init(void);
133void evas_cache_vg_shutdown(void); 144void evas_cache_vg_shutdown(void);