]> gitweb.michael.orlitzky.com - libsvgtiny.git/commit
src/svgtiny.c: add impotent svgtiny_preparse_styles() function
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 4 Oct 2023 11:49:17 +0000 (07:49 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 4 Oct 2023 11:54:07 +0000 (07:54 -0400)
commit35b69b465e986a90df6396c39fac35fec3298418
treee2033636ac28609c02bb112462e93fca73e34263
parentb95ec8cedeffd1f1050c92bb934751811fa3c6df
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