]> gitweb.michael.orlitzky.com - libsvgtiny.git/commit
src/svgtiny.c: add impotent svgtiny_preparse_styles() function
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 7 Jun 2025 14:14:00 +0000 (10:14 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 8 Jun 2025 02:18:20 +0000 (22:18 -0400)
commit8b4fe70a2a3767249abf5abfb8e0db2a9e5749f8
tree2ae8b34164555b08b6dee0043ef1bbbcbf2ca583
parentaea9d4928943578b10986628ab2a7ef70aab09e8
src/svgtiny.c: add impotent svgtiny_preparse_styles() function

We declare and add the svgtiny_preparse_styles() function that will be
used to make a first pass through the SVG document and parse all of
the <style> elements. At the moment it is only half implemented:
once we find a <style> element, we do nothing with it. A separate
function will be used to parse a <style> once we have it.
src/svgtiny.c