The aim of this project is to provide relatively low level bindings to OpenVG, specifically the ShivaVG implementation. (For the most part, the official OpenVG 1.0.1 headers are used, so adapting the library for other OpenVG implementation should be straightforward.)
These bindings are intended to be simpler, safer, use Haskell datatypes where possible and be easier to compile than the existing bindings.
-
Install ShivaVG to where it can be found (e.g
/usr/local
).
If you are on a Unix-like system, chances are that your package manager supplies it, e.g on OS X with Homebrew, simply dobrew install shivavg
. -
Install this package like you would any other Cabal package
The test
directory contains a simple test program in both Haskell, using these bindings and C.
Like many Haskell packages, this code is licensed under the BSD3 license.
ShivaVG itself, written by Ivan Leben, is licensed under the LGPL