I'm guessing it has to be done with the aid of some sort of framework. Google gives libCairo as the most common result, but that is way too many dependencies.
I mean something that would work on Win/Lin/OSX, be non-GPL, python-compatible, freely re-distributable. And preferably a few hundred KB in size.
Thing is, it doesn't even have to support the full SVG spec. Just lines, shapes, gradient fills and blur.
Alternatively, is there any vector format that could be more easily used?