OpenVG-0.4.0: OpenVG.cabal
name: OpenVG
version: 0.4.0
license: BSD3
license-file: LICENSE
copyright: Stephen Tetley <stephen.tetley@gmail.com>
maintainer: Stephen Tetley <stephen.tetley@gmail.com>
homepage: http://code.google.com/p/copperbox/
category: Graphics
synopsis: OpenVG (ShivaVG-0.2.1) binding
description:
A Haskell binding for the OpenVG vector graphics API version
1.0.1, specifically the ShivaVG-0.2.1 implementation.
.
This version (0.4.0) is NOT compatible with the Haskell Platform
(2009.2.0.2) - it uses the split OpenGL packages (RAW, StateVar,
etc.).
.
\*\* WARNING - the module @Graphics.Rendering.OpenVG.VG.Paths@
seems flawed in hindsight, as it ammalgamates the OpenVG
@VGPathSegment@ and @VGPathCommand@ data types into one Haskell
type. The binding is thus likely to change in the next major
revision in what is perhaps the worst place. \*\*.
.
Changelog
.
0.3.0 to 0.4.0
.
* LinearGradient type changed to be Vector4 VGfloat.
.
* RadialGradient changed to (Vector4 VGfloat, VGfloat).
.
* Removed Marshal and Unmarshal type classes, marshallBool and
unmarshalBool moved out of the BasicTypes module.
.
* Type change for colorRampStops.
.
* Name change - maxStops changed to maxColorRampStops.
.
* PathType(..) changed to PathAbsRel(..).
.
* Substantial changes to Haddock docs.
.
* Error handling in VGU redone - the original code in
ErrorsInternal was taken wholesale from Sven Panne\'s
OpenGL binding to help me bootstrap the OpenVG binding.
Regrettably I forgot to replace it or attribute it -
I've now replaced it. Sincere apologies to Sven Panne.
build-type: Simple
stability: experimental
cabal-version: >= 1.2
extra-source-files:
InstallWindows.txt,
Changes,
README.txt,
examples/TestUtils.hs,
examples/TestVgu.hs
library
hs-source-dirs: src
build-depends: base < 5,
OpenGL >= 2.4 && < 2.5,
GLUT >= 2.2 && < 2.3,
OpenGLRaw >= 1.1.0.1 && < 2,
StateVar >= 1.0.0.0 && < 2,
Tensor >= 1.0.0.1 && < 2
exposed-modules:
Graphics.Rendering.OpenVG,
Graphics.Rendering.OpenVG.Util.Colors,
Graphics.Rendering.OpenVG.Util.PathCommands,
Graphics.Rendering.OpenVG.VG,
Graphics.Rendering.OpenVG.VGU,
Graphics.Rendering.OpenVG.VG.BasicTypes,
Graphics.Rendering.OpenVG.VG.Blending,
Graphics.Rendering.OpenVG.VG.DrawingContext,
Graphics.Rendering.OpenVG.VG.Extending,
Graphics.Rendering.OpenVG.VG.Images,
Graphics.Rendering.OpenVG.VG.Paint,
Graphics.Rendering.OpenVG.VG.Parameters,
Graphics.Rendering.OpenVG.VG.Paths,
Graphics.Rendering.OpenVG.VG.RenderingQuality,
Graphics.Rendering.OpenVG.VG.Scissoring,
Graphics.Rendering.OpenVG.VG.ShivaExtensions,
Graphics.Rendering.OpenVG.VGU.VGU
other-modules:
Graphics.Rendering.OpenVG.VG.Constants,
Graphics.Rendering.OpenVG.VG.Utils,
Graphics.Rendering.OpenVG.VG.CFunDecls,
Graphics.Rendering.OpenVG.VGU.CInternals,
Graphics.Rendering.OpenVG.VGU.ErrorsInternal
extensions:
ForeignFunctionInterface, TypeSynonymInstances, CPP
ghc-options: -Wall