The Rasterific package

[ Tags: bsd3, graphics, library ] [ Propose Tags ]

Rasterific is a vector drawing library (a rasterizer) implemented in pure haskell.

Can render vector graphics to an image and export vector data to PDF.

[Skip to Readme]


Versions 0.1, 0.2, 0.2.1, 0.3, 0.4, 0.4.1, 0.4.2, 0.5,,,, 0.5.1, 0.5.2,, 0.6, 0.6.1,, 0.7, 0.7.1,
Change log changelog
Dependencies base (>=4.8 && <5), bytestring (>=0.10.2), containers (>=0.5), dlist (>=0.6), FontyFruity (>= && <0.6), free (>=4.7), JuicyPixels (>=3.2), linear (>=1.3), mtl (>=1.9), primitive (>=0.5), transformers, vector (>=0.9), vector-algorithms (>=0.3) [details]
License BSD3
Author Vincent Berthoux
Category Graphics
Source repository head: git clone git://
this: git clone git:// v0.7.2.1)
Uploaded Tue Mar 21 19:00:16 UTC 2017 by VincentBerthoux
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 5198 total (55 in the last 30 days)
Rating 2.0 (1 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-03-21 [all 1 reports]
Hackage Matrix CI





Embed a reduced version of Linear avoiding a (huge) dep


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for Rasterific-

[back to package description]


Rasterific logo

Build Status Hackage

Rasterific is a Haskell rasterization engine (a vectorial renderer) implemented on top of JuicyPixels. Rasterific bases its text rendering on FontyFruity.

Main capability

  • Draw vector graphics to an image.
  • Export graphics to PDF (since 0.6).


The renderer design is based on the Nile / Gezira renderer from the STEP project from the VPRI institute. The interesting thing about this renderer is the conciseness of it's implementation, providing antialiased rendering in the way.