Commit 2cc4b71
authored
Update / rewrite of the ofxSvg addon to remove dependency on libTinySvg and libxml2. (#8266)
* Update / rewrite of the ofxSvg addon to remove dependency on libTinySvg.
* Fix atan2 and return path instead of string for windows.
* namespace for return type to address windows problems.
* filesystem path vs. string.
* remove ofx::svg namespace and replace with ofxSvg for easier compliance with Windows.
* fixes for filepath and string on windows.
* Copy and move functions.
* fix for fill-opacity and populating css values even if they wont be used.
* Updates for more path parsing support, text parsing, embedded images and deep copy
* more support for legacy transforms and more robust parsing.
* Extend ofNode for easier transform maintenance
* revert to string for filepath due to msys error. Override customDraw ofNode function.
* added offset for paths, for importing and exporting.
* custom optional class for legacy support.
* use ofNode as base
* svg parse example
* fixes for no stroke and adding elements
* save example
* inline documentation and more addImage functions
* added remove functionality and update svgSave example to use remove functions.
* fix for paths with all closed sub paths to use default winding mode of OF_POLY_WINDING_NONZERO with a function to set it differently.1 parent aa344f6 commit 2cc4b71
File tree
23 files changed
+7343
-224
lines changed- addons/ofxSvg
- src
- examples/input_output
- svgParseExample
- bin/data
- src
- svgSaveExample
- bin/data
- src
23 files changed
+7343
-224
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
0 commit comments