SvgLoader: Verify SVG resource 23/238223/3
authorJunsuChoi <jsuya.choi@samsung.com>
Thu, 9 Jul 2020 11:12:48 +0000 (20:12 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 16 Jul 2020 00:36:19 +0000 (09:36 +0900)
commit1b48bf10fe01e2026296c3eef6fe82e471889e56
treecc5e4b6e084dab21a6a9eaa2ea339a9ab13bfe38
parent2501c50506da04fccf7dda3949b8313dc164c723
SvgLoader: Verify SVG resource

Only <svg> tag is parsed first before data get in file open function.
If the <svg> tag is found, the loaded file is valid and stores viewbox information.
After that, the remaining content data is parsed in order with async.

Change-Id: Idb934fbd5e190c7c523abe601a80745ccc767af1
src/loaders/svg_loader/tvgSvgLoader.cpp