wkoiking / diagrams-gi-cairo

Cairo backend for Haskell diagrams.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

diagrams-gi-cairo is a fork of diagrams-cairo, a rendering backend for diagrams-2.0, a powerful, flexible, declarative domain-specific language for creating vector graphics, using the Haskell programming language.

diagrams-gi-cairo is implemented using the cairo rendering engine and is a fully-featured, officially supported backend for diagrams.

Difference from diagrams-cairo is as below:

  • diagrams-gi-cairo depends on gi-cairo package instead of cairo package.
  • diagrams-gi-cairo depends on diagrams-2.0 and geometry package instead of diagrams-1.X. Although diagrams-2.0 is still in development, it is a lot more performant compared to diagrams-1.X.

Installation Note

Using stack

You need to specify below extra-deps in stack.yaml to build this package:

resolver: lts-17.0

packages:
- '.'

extra-deps: # []
- geometry
- diagrams
- active
- monoid-extras
- gi-pangocairo-1.0.23

About

Cairo backend for Haskell diagrams.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 75.8%Language:TeX 24.2%Language:Makefile 0.0%Language:Batchfile 0.0%Language:Shell 0.0%