Draw to a Cairo Surface with Multi-Page support

Draw to a Cairo surface with a paginated backend

class quill.exporter.cairo_surface_paginated.CairoSurfacePaginated(surface)[source]

Bases: quill.exporter.cairo_context.CairoContext

begin_export()[source]
end_export()[source]
is_multipage()

Return whether the exporter can export multiple pages.

EXAMPLES:

>>> from quill.exporter.pdf import Pdf
>>> from tempfile import TemporaryFile
>>> tmp = TemporaryFile(suffix='pdf')
>>> Pdf(tmp).is_multipage()
True
new_page(page)[source]

Previous topic

Draw to a Cairo Context

Next topic

Export to Scalable Vector Graphics (SVG)

This Page