$ luarocks install oocairo
Lua-OOCairo provides Lua with full access to the Cairo vector graphics API.
It can be used for drawing onto bitmap images and saving the resulting files
in PNG format, or for generating files in vector formats like SVG and PDF.
Versions
Dependencies
lua >= 5.1, <= 5.4