summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_private.h')
-rw-r--r--src/lib/evas/canvas/evas_vg_private.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/evas_vg_private.h b/src/lib/evas/canvas/evas_vg_private.h
index 036604b..a6a2714 100644
--- a/src/lib/evas/canvas/evas_vg_private.h
+++ b/src/lib/evas/canvas/evas_vg_private.h
@@ -15,6 +15,7 @@ typedef struct _Vg_Cache
15{ 15{
16 Eina_Hash *vfd_hash; 16 Eina_Hash *vfd_hash;
17 Eina_Hash *vg_entry_hash; 17 Eina_Hash *vg_entry_hash;
18 Eina_List *vg_surface_keys;
18 int ref; 19 int ref;
19} Vg_Cache; 20} Vg_Cache;
20 21
@@ -26,7 +27,7 @@ typedef struct _Vg_Cache_Entry
26 Eina_Stringshare *key; 27 Eina_Stringshare *key;
27 int w; 28 int w;
28 int h; 29 int h;
29 Efl_VG *root[3]; //0: default, 1: start frame, 2: end frame 30 Efl_VG *root;
30 int ref; 31 int ref;
31 Vg_File_Data *vfd; 32 Vg_File_Data *vfd;
32} Vg_Cache_Entry; 33} Vg_Cache_Entry;
@@ -52,7 +53,6 @@ struct _Efl_Canvas_Vg_Object_Data
52 double align_x, align_y; 53 double align_x, align_y;
53 Efl_Canvas_Vg_Fill_Mode fill_mode; 54 Efl_Canvas_Vg_Fill_Mode fill_mode;
54 int frame_idx; 55 int frame_idx;
55 int cached_frame_idx;
56 56
57 Eina_Bool changed : 1; 57 Eina_Bool changed : 1;
58}; 58};
@@ -147,12 +147,15 @@ Vg_Cache_Entry* evas_cache_vg_entry_create(Evas *evas, const Eina_Fi
147Efl_VG* evas_cache_vg_tree_get(Vg_Cache_Entry *vg_entry, unsigned int frame_num); 147Efl_VG* evas_cache_vg_tree_get(Vg_Cache_Entry *vg_entry, unsigned int frame_num);
148void evas_cache_vg_entry_value_provider_update(Vg_Cache_Entry *vg_entry, Eina_List *vp_list); 148void evas_cache_vg_entry_value_provider_update(Vg_Cache_Entry *vg_entry, Eina_List *vp_list);
149void evas_cache_vg_entry_del(Vg_Cache_Entry *vg_entry); 149void evas_cache_vg_entry_del(Vg_Cache_Entry *vg_entry);
150Vg_File_Data * evas_cache_vg_file_open(const Eina_File *file, const char *key); 150Vg_File_Data * evas_cache_vg_file_open(const Eina_File *file, const char *key, Evas *e);
151Eina_Bool evas_cache_vg_file_save(Efl_VG *root, int w, int h, const char *file, const char *key, const Efl_File_Save_Info *info); 151Eina_Bool evas_cache_vg_file_save(Efl_VG *root, int w, int h, const char *file, const char *key, const Efl_File_Save_Info *info);
152Eina_Bool evas_cache_vg_entry_file_save(Vg_Cache_Entry *vg_entry, const char *file, const char *key, const Efl_File_Save_Info *info); 152Eina_Bool evas_cache_vg_entry_file_save(Vg_Cache_Entry *vg_entry, const char *file, const char *key, const Efl_File_Save_Info *info);
153double evas_cache_vg_anim_duration_get(const Vg_Cache_Entry *vg_entry); 153double evas_cache_vg_anim_duration_get(const Vg_Cache_Entry *vg_entry);
154Eina_Bool evas_cache_vg_anim_sector_set(const Vg_Cache_Entry* vg_entry, const char *name, int startframe, int endframe);
155Eina_Bool evas_cache_vg_anim_sector_get(const Vg_Cache_Entry* vg_entry, const char *name, int* startframe, int* endframe);
154unsigned int evas_cache_vg_anim_frame_count_get(const Vg_Cache_Entry *vg_entry); 156unsigned int evas_cache_vg_anim_frame_count_get(const Vg_Cache_Entry *vg_entry);
155Eina_Size2D evas_cache_vg_entry_default_size_get(const Vg_Cache_Entry *vg_entry); 157Eina_Size2D evas_cache_vg_entry_default_size_get(const Vg_Cache_Entry *vg_entry);
158void * evas_cache_vg_surface_key_get(Efl_Canvas_Vg_Node *root, int w, int h, int frame_idx);
156void efl_canvas_vg_node_vg_obj_set(Efl_VG *node, Efl_VG *vg_obj, Efl_Canvas_Vg_Object_Data *vd); 159void efl_canvas_vg_node_vg_obj_set(Efl_VG *node, Efl_VG *vg_obj, Efl_Canvas_Vg_Object_Data *vd);
157void efl_canvas_vg_node_change(Efl_VG *node); 160void efl_canvas_vg_node_change(Efl_VG *node);
158void efl_canvas_vg_container_vg_obj_update(Efl_VG *obj, Efl_Canvas_Vg_Node_Data *nd); 161void efl_canvas_vg_container_vg_obj_update(Efl_VG *obj, Efl_Canvas_Vg_Node_Data *nd);