summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorVitalii Vorobiov <vi.vorobiov@samsung.com>2017-01-27 13:54:47 +0200
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-07 11:54:09 +0900
commit7d9c1256a30bdbe3680c14da77d5fadf3382b6ef (patch)
treeaae39980a119e1f21d0210d5dbea9ab8206f623f /src/lib
parent3f75c92ca9e559204c20228444810e8d482986d0 (diff)
vg_savers/svg: empty (for now) module that will save svg in original file
Just as a starter to make a working background that, later on, will go through Svg_Node's and build a certain source code to be saved in SVG picture as a file
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/evas/file/evas_module.c4
-rw-r--r--src/lib/evas/vg/evas_vg_cache.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c
index 151b5b9a13..bdcd5e8500 100644
--- a/src/lib/evas/file/evas_module.c
+++ b/src/lib/evas/file/evas_module.c
@@ -207,6 +207,7 @@ EVAS_EINA_STATIC_MODULE_DEFINE(image_loader, tgv);
207 207
208#if !EVAS_MODULE_NO_VG_SAVERS 208#if !EVAS_MODULE_NO_VG_SAVERS
209EVAS_EINA_STATIC_MODULE_DEFINE(vg_saver, eet); 209EVAS_EINA_STATIC_MODULE_DEFINE(vg_saver, eet);
210EVAS_EINA_STATIC_MODULE_DEFINE(vg_saver, svg);
210#endif 211#endif
211 212
212#if !EVAS_MODULE_NO_IMAGE_SAVERS 213#if !EVAS_MODULE_NO_IMAGE_SAVERS
@@ -319,6 +320,9 @@ static const struct {
319#ifdef EVAS_STATIC_BUILD_VG_EET 320#ifdef EVAS_STATIC_BUILD_VG_EET
320 EVAS_EINA_STATIC_MODULE_USE(vg_saver, eet), 321 EVAS_EINA_STATIC_MODULE_USE(vg_saver, eet),
321#endif 322#endif
323#ifdef EVAS_STATIC_BUILD_VG_SVG
324 EVAS_EINA_STATIC_MODULE_USE(vg_saver, svg),
325#endif
322#endif 326#endif
323#if !EVAS_MODULE_NO_IMAGE_SAVERS 327#if !EVAS_MODULE_NO_IMAGE_SAVERS
324#ifdef EVAS_STATIC_BUILD_EET 328#ifdef EVAS_STATIC_BUILD_EET
diff --git a/src/lib/evas/vg/evas_vg_cache.c b/src/lib/evas/vg/evas_vg_cache.c
index 57f3cefc56..f3e8f77289 100644
--- a/src/lib/evas/vg/evas_vg_cache.c
+++ b/src/lib/evas/vg/evas_vg_cache.c
@@ -102,7 +102,8 @@ struct ext_saver_s
102static const struct ext_saver_s savers[] = 102static const struct ext_saver_s savers[] =
103{ /* map extensions to savers to use for good first-guess tries */ 103{ /* map extensions to savers to use for good first-guess tries */
104 MATCHING(".eet", "eet"), 104 MATCHING(".eet", "eet"),
105 MATCHING(".edj", "eet") 105 MATCHING(".edj", "eet"),
106 MATCHING(".svg", "svg")
106}; 107};
107 108
108static Evas_Module * 109static Evas_Module *