diff options
author | Vitalii Vorobiov <vi.vorobiov@samsung.com> | 2017-01-27 13:54:47 +0200 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-11-07 11:54:09 +0900 |
commit | 7d9c1256a30bdbe3680c14da77d5fadf3382b6ef (patch) | |
tree | aae39980a119e1f21d0210d5dbea9ab8206f623f /src/lib | |
parent | 3f75c92ca9e559204c20228444810e8d482986d0 (diff) | |
download | efl-7d9c1256a30bdbe3680c14da77d5fadf3382b6ef.tar.gz |
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.c | 4 | ||||
-rw-r--r-- | src/lib/evas/vg/evas_vg_cache.c | 3 |
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); #if !EVAS_MODULE_NO_VG_SAVERS EVAS_EINA_STATIC_MODULE_DEFINE(vg_saver, eet); +EVAS_EINA_STATIC_MODULE_DEFINE(vg_saver, svg); #endif #if !EVAS_MODULE_NO_IMAGE_SAVERS @@ -319,6 +320,9 @@ static const struct { #ifdef EVAS_STATIC_BUILD_VG_EET EVAS_EINA_STATIC_MODULE_USE(vg_saver, eet), #endif +#ifdef EVAS_STATIC_BUILD_VG_SVG + EVAS_EINA_STATIC_MODULE_USE(vg_saver, svg), +#endif #endif #if !EVAS_MODULE_NO_IMAGE_SAVERS #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 static const struct ext_saver_s savers[] = { /* map extensions to savers to use for good first-guess tries */ MATCHING(".eet", "eet"), - MATCHING(".edj", "eet") + MATCHING(".edj", "eet"), + MATCHING(".svg", "svg") }; static Evas_Module * |