Rasterific: A pure haskell drawing engine.

[ bsd3, graphics, library ] [ Propose Tags ] [ Report a vulnerability ]

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]

Flags

Automatic Flags
NameDescriptionDefault
embed_linear

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

Enabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2, 0.2.1, 0.3, 0.4, 0.4.1, 0.4.2, 0.5, 0.5.0.1, 0.5.0.2, 0.5.0.3, 0.5.1, 0.5.2, 0.5.2.1, 0.6, 0.6.1, 0.6.1.1, 0.7, 0.7.1, 0.7.2.1, 0.7.2.2, 0.7.2.3, 0.7.3, 0.7.4, 0.7.4.1, 0.7.4.2, 0.7.4.3, 0.7.4.4, 0.7.5, 0.7.5.1, 0.7.5.2, 0.7.5.3, 0.7.5.4
Change log changelog
Dependencies base (>=4.9 && <6), bytestring (>=0.10.2), containers (>=0.5), dlist (>=0.6), fail (>=4.9 && <4.10), FontyFruity (>=0.5.3.4 && <0.6), free (>=4.7), JuicyPixels (>=3.3.2), linear (>=1.3), mtl (>=1.9), primitive (>=0.5), semigroups (>=0.18 && <0.19), transformers, vector (>=0.9), vector-algorithms (>=0.3) [details]
License BSD-3-Clause
Author Vincent Berthoux
Maintainer twinside@gmail.com
Category Graphics
Source repo head: git clone git://github.com/Twinside/Rasterific.git
this: git clone git://github.com/Twinside/Rasterific.git(tag v0.7.5.3)
Uploaded by VincentBerthoux at 2021-05-26T21:28:13Z
Distributions LTSHaskell:0.7.5.4, NixOS:0.7.5.4, Stackage:0.7.5.4
Reverse Dependencies 5 direct, 34 indirect [details]
Downloads 28856 total (67 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-05-26 [all 1 reports]

Readme for Rasterific-0.7.5.4

[back to package description]

Rasterific

Rasterific logo

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).

Design

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.