SVG generator implemented in GNU Smalltalk. Only contains a few primitives yet. Merge requests to support more elements are very welcome.
Check out the documentation at https://ad-si.github.io/svgtalk/.
Attention: Must be run with GNU Smalltalk version 3.2.91.
Build example graphic:
gst source/*.st graphic.st > graphic.svg
Register the package:
gst-package ./package.xml
Run its tests and load package into main image:
gst-load -t SvgTalk
Start repl and create objects:
gst
st> SvgRect new origin: 1@2 extent: 30@40.
For more detailed usage scenarios check out the [./tests] directory.
gst-package --test ./package.xml
make docs
- Implement
#asString
in terms of#printOn
(https://stackoverflow.com/questions/55322402)