Safe Haskell | None |
---|---|
Language | Haskell98 |
- dot :: (Renderable (Path R2) b, Backend b R2) => Diagram b R2
- slithergrid :: (Backend b R2, Renderable (Path R2) b) => Size -> Diagram b R2
- gridlines :: Size -> Path R2
- outframe :: Renderable (Path R2) b => Size -> Diagram b R2
- grid' :: (Backend b R2, Renderable (Path R2) b) => (Diagram b R2 -> Diagram b R2) -> Size -> Diagram b R2
- grid :: (Backend b R2, Renderable (Path R2) b) => Size -> Diagram b R2
- bgdashing :: (Semigroup a, HasStyle a) => [Double] -> Double -> Colour Double -> a -> a
- dashes :: [Double]
- dashoffset :: Double
- dashedgrid :: (Backend b R2, Renderable (Path R2) b) => Size -> Diagram b R2
- atCentres :: (Transformable a, Monoid a, V a ~ R2) => (t -> a) -> [(Coord, t)] -> a
- atCentres' :: (Transformable a, V a ~ R2) => SGrid a -> [a]
- atVertices :: (Transformable a, Monoid a, V a ~ R2) => (t -> a) -> [(Coord, t)] -> a
- atVertices' :: (Transformable a, V a ~ R2) => SGrid a -> [a]
- border :: (Backend b R2, Renderable (Path R2) b) => Size -> Diagram b R2
- edge :: Edge -> Path R2
- dualEdge :: Edge -> Path R2
- edgeStyle :: HasStyle a => a -> a
- thinEdgeStyle :: HasStyle a => a -> a
- drawEdges :: Renderable (Path R2) b => [Edge] -> Diagram b R2
- drawDualEdges :: Renderable (Path R2) b => [Edge] -> Diagram b R2
- drawThinDualEdges :: Renderable (Path R2) b => [Edge] -> Diagram b R2
- drawAreaGrid :: (Backend b R2, Renderable (Path R2) b, Eq a) => SGrid a -> Diagram b R2
- fillBG :: (Backend b R2, Renderable (Path R2) b) => Colour Double -> Diagram b R2
- shadeGrid :: (Backend b R2, Renderable (Path R2) b) => SGrid (Maybe (Colour Double)) -> Diagram b R2
- drawShadedGrid :: (Backend b R2, Renderable (Path R2) b) => SGrid Bool -> Diagram b R2
- drawAreaGridGray :: (Backend b R2, Renderable (Path R2) b) => SGrid Char -> Diagram b R2
Documentation
dot :: (Renderable (Path R2) b, Backend b R2) => Diagram b R2 Source
Draw a small black dot with no envelope.
slithergrid :: (Backend b R2, Renderable (Path R2) b) => Size -> Diagram b R2 Source
Draw a Slither Link style grid of dots of the specified size.
outframe :: Renderable (Path R2) b => Size -> Diagram b R2 Source
Draw a frame around the outside of a rectangle.
grid' :: (Backend b R2, Renderable (Path R2) b) => (Diagram b R2 -> Diagram b R2) -> Size -> Diagram b R2 Source
Draw a square grid, applying the given style to the grid lines.
grid :: (Backend b R2, Renderable (Path R2) b) => Size -> Diagram b R2 Source
Draw a square grid with default grid line style.
dashedgrid :: (Backend b R2, Renderable (Path R2) b) => Size -> Diagram b R2 Source
Draw a square grid with dashed grid lines. The gaps between dashes are off-white to aid in using filling tools.
atCentres :: (Transformable a, Monoid a, V a ~ R2) => (t -> a) -> [(Coord, t)] -> a Source
In a square grid, use the first argument to draw things at the centres of cells given by coordinates.
atCentres' :: (Transformable a, V a ~ R2) => SGrid a -> [a] Source
atVertices :: (Transformable a, Monoid a, V a ~ R2) => (t -> a) -> [(Coord, t)] -> a Source
In a square grid, use the first argument to draw things at the grid vertices given by coordinates.
atVertices' :: (Transformable a, V a ~ R2) => SGrid a -> [a] Source
border :: (Backend b R2, Renderable (Path R2) b) => Size -> Diagram b R2 Source
Frame a rectangle of the given size with a border of width
borderwidth
.
thinEdgeStyle :: HasStyle a => a -> a Source
drawDualEdges :: Renderable (Path R2) b => [Edge] -> Diagram b R2 Source
drawThinDualEdges :: Renderable (Path R2) b => [Edge] -> Diagram b R2 Source