Mastering SVG: The Paint-Order Attribute Explained
You would think that in this age of generative AI, that going deep into a subject is no longer en vogue. I mean, when you’ve got copilot and ChatGPT at your finger tips, aren’t you just supposed to prompt your way to coding nirvana?
Well, us humans still have something to offer to the intellectual pursuits of programming. I’m going to explore one such case in point. I will use the rendering of .svg as a backdrop. This is kinda technical, so if you’re not into that, you might want to avert your eyes now.
Let’s Talk SVG Again
Last year, I did a whole multi-part series on how to write an SVG Rendering engine from the ground up: https://williamaadams.wordpress.com/2023/02/18/svg-from-the-ground-up-time-to-wrap-it-up/
Since the time of that writing, I’ve used the SVG engine quite a lot to create a mapping application, as well as be the foundation for creating some UI elements for general application usage. This past summer, a developer in the blend2d community asked if they could use the library as part of the work with the Tcl language.