we can't control any threads count that could drop the performance.
remove async() and will come back with fine-tuned threading-pool.
Change-Id: I17c39792234acfce6db334abc0ce12da23978a9a
This patch is solving following build error.
error: ‘offsetof’ was not declared in this scope
Depending on build environment, this error could happen.
Change-Id: I3512bb205f79a4d893cf33266db0a9109c0df886
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
if a scene loads a vector resource, it must have viewbox info from the design,
That viewbox will be used as bounding box so that user can scale up/down
the scene by its requirements.
Change-Id: Iafa39af23118a03de207c745364d56c837892e1b
SvgSceneBuilder builds Scene using SvgNode tree.
build(root node) function return the root scene.
Following SVG tags are supported.
Polygon, Polyline, Circle, Rect, Line
Change-Id: I8c9b8c28d9a4799af6ddc45c35f77a75f696b2a5
Load svg using fstream and parse it using SimpleXMLparser.
And Make a document tree composed of SvgNodes using the parsed data.
Change-Id: I5715b466638195844798f7b66f54f6015e7c3ae6