Personal tools

Chlor

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(this project pretty is much dead, please look into "diagrams" instead)
(Chlor does not exist any more. Don't know how to delete this page)
 
Line 1: Line 1:
[[Category:Graphics]]
 
[[Category:Libraries]]
 
 
'''Chlor''' is a pure-Haskell library that
 
 
* produces vector graphics
 
* provides highlevel components
 
* supports essential file formats like SVG, EPS, etc. (PDF to follow)
 
 
== Examples ==
 
 
The page jumps in an interactive novel:
 
 
[[Image:Chlor_example1.png]]
 
 
== Overview ==
 
 
=== Boxes ===
 
Layout can be defined by boxes, which are invisible themselves.
 
 
Boxes can be
 
 
* shrinked
 
* split - with margins or no margins
 
* merged with other boxes
 
* filtered
 
 
[[Image:Chlor_boxes.png]]
 
 
=== Shapes ===
 
 
Some builtin-shapes mapped to a box grid:
 
 
[[Image:Chlor_shapes.png]]
 
 
=== Graphical attributes ===
 
 
Dash pattern:
 
 
[[Image:Chlor_dash_patterns.png]]
 
 
Clipping:
 
 
[[Image:Chlor_clipping.png]]
 
 
=== Transformations ===
 
 
Rotate, shear:
 
 
[[Image:Chlor_affine_map.png]]
 
 
=== Charts ===
 
 
Line chart:
 
 
[[Image:Chlor line chart.png]]
 

Latest revision as of 06:43, 16 October 2013