Export to Scalable Vector Graphics (SVG)

Export to Portable Document Format (PDF)

EXAMPLES:

>>> from quill.exporter.svg import Svg
>>> from tempfile import TemporaryFile
>>> tmp = TemporaryFile(suffix='svg')
>>> Svg(tmp).book(sample_book)
>>> Svg(tmp).book(sample_book_xoj)
class quill.exporter.svg.Svg(fileobj)[source]

Bases: quill.exporter.cairo_context.CairoContext

Exporter to PDF

Parameters:fileobj – a filename or a file-like object

Previous topic

Draw to a Cairo Surface with Multi-Page support

Next topic

Export to Portable Document Format (PDF)

This Page