Sha256: 2ec726ad7f8e382bd66a8543d6c31bc08e2779a6d1e8040af3b5219be44c5b34
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 Bytes
Contents
The very start of an SVG renderer for Prawn. This will take an SVG file as input and render it into your PDF. Find out more about the Prawn PDF library at: http://wiki.github.com/sandal/prawn/ Using prawn-svg: Prawn::Document.generate("svg.pdf") do svg svg_data, :at => [x, y], :width => w end :at must be specified. :width, :height, or neither may be specified; if neither is present, the resolution specified in the SVG will be used. Note that only a very small subset of SVG is currently supported. It's just enough so that it renders a simple graph made by Scruffy.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
prawn-svg-0.9.1 | README |