diff options
author | Subhransu Mohanty <sub.mohanty@samsung.com> | 2016-11-02 19:22:55 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-10-27 14:58:38 +0900 |
commit | 48c1c4850a486b1d416665d7e7536842d4d68979 (patch) | |
tree | f292314a4ae8671a4748f38eacbabd9091b01d4d /src/lib | |
parent | 21259e411d1d16956196d0ac5c12f5c96ab5a490 (diff) |
static_lib: added vg_common static lib
Features:
Copied vg eet descriptor from edje_data
Copied convert func from Svg_Node to Efl_VG from edje
added convert function from Efl_VG to Svg_Node
Diffstat (limited to '')
-rw-r--r-- | src/lib/evas/include/evas_private.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h index 8a16d63e68..2cedf01807 100644 --- a/src/lib/evas/include/evas_private.h +++ b/src/lib/evas/include/evas_private.h | |||
@@ -142,6 +142,8 @@ typedef struct _Evas_Canvas3D_Mesh_Eet Evas_Canvas3D_Mesh_Eet; | |||
142 | typedef struct _Evas_Canvas3D_Header_Eet Evas_Canvas3D_Header_Eet; | 142 | typedef struct _Evas_Canvas3D_Header_Eet Evas_Canvas3D_Header_Eet; |
143 | typedef struct _Evas_Canvas3D_File_Eet Evas_Canvas3D_File_Eet; | 143 | typedef struct _Evas_Canvas3D_File_Eet Evas_Canvas3D_File_Eet; |
144 | 144 | ||
145 | typedef struct _Vg_File_Data Vg_File_Data; | ||
146 | |||
145 | struct _Evas_Canvas3D_Vec2_Eet | 147 | struct _Evas_Canvas3D_Vec2_Eet |
146 | { | 148 | { |
147 | float x; | 149 | float x; |
@@ -1629,14 +1631,21 @@ struct _Evas_Image_Save_Func | |||
1629 | int (*image_save) (RGBA_Image *im, const char *file, const char *key, int quality, int compress, const char *encoding); | 1631 | int (*image_save) (RGBA_Image *im, const char *file, const char *key, int quality, int compress, const char *encoding); |
1630 | }; | 1632 | }; |
1631 | 1633 | ||
1634 | struct _Vg_File_Data | ||
1635 | { | ||
1636 | Eina_Rectangle view_box; | ||
1637 | Efl_VG *root; | ||
1638 | Eina_Bool preserve_aspect; | ||
1639 | }; | ||
1640 | |||
1632 | struct _Evas_Vg_Load_Func | 1641 | struct _Evas_Vg_Load_Func |
1633 | { | 1642 | { |
1634 | void *(*file_data) (Eina_File *f, Eina_Stringshare *key, int *error); | 1643 | Vg_File_Data *(*file_data) (const char *file, const char *key, int *error); |
1635 | }; | 1644 | }; |
1636 | 1645 | ||
1637 | struct _Evas_Vg_Save_Func | 1646 | struct _Evas_Vg_Save_Func |
1638 | { | 1647 | { |
1639 | int (*vg_save) (void *vg, const char *file, const char *key, int compress); | 1648 | int (*vg_save) (Vg_File_Data *vg, const char *file, const char *key, int compress); |
1640 | }; | 1649 | }; |
1641 | 1650 | ||
1642 | #ifdef __cplusplus | 1651 | #ifdef __cplusplus |