svg_parse: save global size variable to use when gradient size recalc
authorVitalii Vorobiov <vi.vorobiov@samsung.com>
Tue, 14 Feb 2017 15:51:13 +0000 (17:51 +0200)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 7 Nov 2017 02:54:09 +0000 (11:54 +0900)
commit1354c1c8ab53ab10e4da195aa1ac157c65ba6bf8
treece3bfdcdbf0c9f7736d0d55aa1d4b25ac040eaa6
parentfac649c7f41c148ac4750c626bf93a5fd9b4ae49
svg_parse: save global size variable to use when gradient size recalc

For example while userSpaceOnUse it uses not figure's x,y,w,h
but entire canvas, so we need to save it publically and recalc while
parsing (or after)
src/modules/evas/vg_loaders/svg/evas_vg_load_svg.c