5.3.3.7
RSVG: an FFI binding for loading SVG images
(require rsvg) |
This library provides functions for loading SVG images as Racket bitmap objects through an FFI binding to libRSVG. The resulting bitmap objects can then be freely manipulated with the racket/draw or slideshow/pict libraries.
Loads an SVG document from port and returns a bitmap
object with the SVG document rendered in it.
Raises an exn:fail exception when the SVG document fails to load.
Like load-svg-bitmap, but takes a path string argument
instead of an input port.