diagrams
Version 1.0.0.1 revision 0 uploaded by BrentYorgey.
Package meta
- Synopsis
- Embedded domain-specific language for declarative vector graphics
- Description
Diagrams is a full-featured framework and embedded domain-specific langauge for creating declarative vector graphics and animations.
This package is just a convenient wrapper around the
diagrams-core
,diagrams-lib
anddiagrams-contrib
packages, so they can be installed with a singlecabal install diagrams
command.The package also comes with flags to enable four different backends. A Haskell-native SVG backend (the
diagrams-svg
package) can be selected with-fsvg
. This flag is enabled by default, so if you do not want the SVG backend, you must explicitly disable it with-f-svg
. The SVG backend does not yet quite support all the features of the cairo backend: text alignment and embedded images are the two main missing features at this point, and of course it can only produce SVG images. It is, however, much easier to install, so it is the out-of-the-box default.There is also a cairo backend (the
diagrams-cairo
package) which can be selected with the-fcairo
flag. It is fully-featured and can produce PNG, PS, PDF, or SVG output; however, due to its dependencies it can be difficult to install on some platforms (notably OS X).In addition, there is a GTK backend based on the cairo backend, for rendering diagrams directly to GTK windows. You can enable it with the
-fgtk
flag.Finally, there is a Haskell-native postscript backend (the
diagrams-postscript
package) which can be selected with the-fps
flag. The only feature it does not support is transparency.For more information, including a gallery of examples, tutorial, and user manual, see the diagrams website: http://projects.haskell.org/diagrams. For help, join the
#diagrams
IRC channel on Freenode or the mailing list: http://groups.google.com/group/diagrams-discuss.- Author
- Brent Yorgey
- Bug reports
- http://github.com/diagrams/diagrams/issues
- Category
- Graphics
- Copyright
- n/a
- Homepage
- http://projects.haskell.org/diagrams
- Maintainer
- diagrams-discuss@googlegroups.com
- Package URL
- n/a
- Stability
- n/a