]> gitweb.michael.orlitzky.com - libsvgtiny.git/commit
src/svgtiny{,_parse}.c: use a separate function for style application
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 7 Jun 2025 15:31:39 +0000 (11:31 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 9 Jun 2025 01:13:07 +0000 (21:13 -0400)
commit715017613e56b3b01c6cc796ddc24ff353e79ace
treee2ee4b88e88e6707236529aa6b2b44299dc98ef6
parentb45031b935ad1ec598fd3956bccd0928d0ef0bb5
src/svgtiny{,_parse}.c: use a separate function for style application

We've been doing CSS in svgtiny_parse_paint_attributes(), because we
only support CSS paint attributes at the moment. But ultimately that
won't be right. Let's separate it out now into its own function,
svgtiny_parse_styles().
src/svgtiny.c
src/svgtiny_parse.c