Portability | GHC |
---|---|
Stability | highly unstable |
Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Drawing grids
- grid :: Fractional u => (Int, Int) -> u -> LocGraphic u
- interiorGrid :: RealFrac u => u -> ConnectorGraphic u
Documentation
grid :: Fractional u => (Int, Int) -> u -> LocGraphic uSource
interiorGrid :: RealFrac u => u -> ConnectorGraphic uSource
interiorGrid
: increment -> ConnectorGraphic
Draw the interior lines of a grid between the connector points - start point is interpreted as bottom-left, end-point is interpreted as top right.
The interior lines are calculated with repsect to the 0 and the
increment, for instance with an increment of 10 but a start
point (15,0)
lines are drawn from (20,0), (30,0)
etc.