Difference between revisions of "Chlor"

From HaskellWiki
Jump to navigation Jump to search
(Chlor does not exist any more. Don't know how to delete this page)
 
(63 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Chlor''' is a highlevel Haskell vector graphics framework for non-interactive diagrams and charts.
 
 
Chlor tries to enable you to '''get things done''':
 
 
* Chlor is '''trivial to install'''.
 
:: Many Haskell graphic libraries depend on bindings to non-Haskell libraries (like Cairo/Gtk, GD, OpenGL, etc.) which can be more or less troublesome to install on your system. Chlor avoids this trouble by being a pure Haskell framework.
 
 
* Chlor provides a rich repository of '''reusable highlevel components'''.
 
 
* Chlor can generate graphics in '''essential file formats''' (PDF, SVG, EPS, etc).
 
:: Very likely, Chlor well only be a small cog in your workstream. To simplify your pre- and post-processing, Chlor provides import and export facilities in open file formats.
 
 
Chlor is currently available from the [http://chlor.svn.sourceforge.net/viewvc/chlor/trunk/haskell/ code repository] only.
 
 
== Features==
 
 
Chlor uses a '''top-down graphics model'''. You define a box and what objects to create within this box. These objects themselves can decide what to draw within their respective boxes, and so on.
 
 
=== Boxes ===
 
You define a box by
 
* dimension: width and height
 
* anchor: a coordinate and an origin (which part this coordinate is relative to)
 
* alignment: you can define how to align content within the box (left, right, top, bottom, center)
 
 
=== Shapes ===
 

Latest revision as of 06:43, 16 October 2013