Render the Doc to a String using the default Style.
Outputs indented HTML. Because space matters in HTML, the output is quite messy.
Render a piece of indented HTML without adding a DOCTYPE declaration or root element. Only adds whitespace meaning of the document.
Outputs indented XHTML. Because space matters in HTML, the output is quite messy.
(freeglut only) Controls the creation of rendering contexts for new windows.
Render an object in the given flavour.
Render the Doc to a String using the given Style.
How rendering context for new windows are created.
A CellRenderer instance that allows for arbitrary Cairo rendering functions to render each item in a TreeView.
The kind of GLX rendering context used. Direct rendering provides a performance advantage in some implementations. However, direct rendering contexts cannot be shared outside a single process, and they may be unable to render to GLX pixmaps.
(freeglut on X11 only) Controls which kind of rendering context is created when a new one is required.
This module provides efficient functions for rendering vector graphics to a number of formats, including EPS, PostScript, and PDF. It provides an abstraction for multi-page documents, as well as a set of graphics primitives for page descriptions.
The graphics model is similar to that of the PostScript and PDF languages, but we only implement a subset of their functionality. Care has been taken that graphics rendering is done efficiently and as lazily as possible; documents are rendered "on the fly", without the need to store the whole document in memory.
The provided document description model consists of two separate layers of abstraction:
* drawing is concerned with placing marks on a fixed surface, and takes place in the Draw monad;
* document structure is concerned with a sequence of pages, their bounding boxes, and other meta-data. It takes place in the Document monad.
In principle, the functionality provided by EasyRender is similar to a subset of Cairo; however, EasyRender is lightweight and at least an order of magnitude faster.
The general rendering interface.
Rendering library using cairo for hoodle file format
Rendering library using cairo for xournal file format