easyrender: User-friendly creation of EPS, PostScript, and PDF files

[ gpl, graphics, library ] [ Propose Tags ]

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.

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.1.1.4
Change log ChangeLog
Dependencies base (>=4.5 && <5), bytestring (>=0.9), containers (>=0.5), mtl (>=2.1), superdoc (>=0.1), zlib (>=0.5) [details]
License GPL-3.0-only
Copyright Copyright (c) 2012-2016 Peter Selinger
Author Peter Selinger
Maintainer selinger@mathstat.dal.ca
Revised Revision 1 made by HerbertValerioRiedel at 2016-12-11T09:52:22Z
Category Graphics
Home page http://www.mathstat.dal.ca/~selinger/easyrender/
Uploaded by PeterSelinger at 2016-07-27T14:37:40Z
Distributions
Reverse Dependencies 5 direct, 3 indirect [details]
Downloads 6799 total (42 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]