Implement MultiBackend support for generating e.g. multi-page PDFs #18
Open
Description
See https://github.com/diagrams/diagrams-core/blob/master/src/Diagrams/Core/Types.hs#L834 for the MultiBackend
class.
Generating multiple pages can be done by calling
which is a binding to
http://www.cairographics.org/manual/cairo-cairo-surface-t.html#cairo-surface-show-page
Multiple pages are supported for PDF, PS, and SVG. Not sure what should be done if the user calls renderDias
but requests an output type that doesn't support it (PNG). Perhaps just exit with an error.