Sevgi Graphics
Sevgi Graphics implements the SVG DSL, document profiles, and rendering.
Install
gem install sevgi-graphics
Require
require "sevgi/graphics"
Example
doc = Sevgi::Graphics.SVG(:minimal) { rect width: 3, height: 5 }
doc.call
Ruby compatibility
Requires Ruby 3.4.0 or newer. CI verifies the current Ruby 3.4 release and the development Ruby from .ruby-version.
Native prerequisites
This gem needs only Ruby and its Ruby dependencies.
Links
- Documentation: https://sevgi.roktas.dev
- API documentation: https://www.rubydoc.info/gems/sevgi-graphics
- Source: https://github.com/roktas/sevgi/tree/main/graphics
- Changelog: https://github.com/roktas/sevgi/blob/main/CHANGELOG.md