Safe Haskell | None |
---|---|
Language | Haskell98 |
- dot :: Backend' b => Diagram b R2
- slithergrid :: Backend' b => Size -> Diagram b R2
- fence :: [Double] -> Double -> Path R2
- gridlines :: Size -> Path R2
- fullgridlines :: Size -> Path R2
- outframe' :: Backend' b => Double -> Size -> Diagram b R2
- outframe :: Backend' b => Size -> Diagram b R2
- grid' :: Backend' b => (Diagram b R2 -> Diagram b R2) -> Size -> Diagram b R2
- grid :: Backend' b => Size -> Diagram b R2
- plaingrid :: Backend' b => Size -> Diagram b R2
- bgdashingG :: (Semigroup a, HasStyle a, V a ~ R2) => [Double] -> Double -> Colour Double -> a -> a
- dashes :: [Double]
- dashoffset :: Double
- gridDashing :: (Semigroup a, HasStyle a, V a ~ R2) => a -> a
- dashedgrid :: Backend' b => Size -> Diagram b R2
- edgePath :: Edge' (Vertex Square) -> Path R2
- irregularGridPaths :: SGrid a -> (Path R2, Path R2)
- irregularGrid :: Backend' b => SGrid a -> 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]
- edge :: Edge -> Path R2
- dualEdge :: Edge -> Path R2
- edgeStyle :: (HasStyle a, V a ~ R2) => a -> a
- thinEdgeStyle :: (HasStyle a, V a ~ R2) => a -> a
- drawEdges :: Backend' b => [Edge] -> Diagram b R2
- drawDualEdges :: Backend' b => [Edge] -> Diagram b R2
- drawThinDualEdges :: Backend' b => [Edge] -> Diagram b R2
- drawAreaGrid :: (Backend' b, Eq a) => SGrid a -> Diagram b R2
- fillBG :: Backend' b => Colour Double -> Diagram b R2
- shadeGrid :: Backend' b => SGrid (Maybe (Colour Double)) -> Diagram b R2
- drawShadedGrid :: Backend' b => SGrid Bool -> Diagram b R2
- drawAreaGridGray :: Backend' b => SGrid Char -> Diagram b R2
- irregAreaGridX :: Backend' b => SGrid Char -> Diagram b R2
- distrib :: (Transformable c, Monoid c, V c ~ R2) => R2 -> (Int, Int) -> Double -> [c] -> c
- outsideGen :: (Transformable c, Monoid c, V c ~ R2) => (OutsideClue [c] -> R2) -> Double -> [OutsideClue [c]] -> c
- outsideCells :: (Transformable c, Monoid c, V c ~ R2) => Double -> [OutsideClue [c]] -> c
- outsideVertices :: (Transformable c, Monoid c, V c ~ R2) => Double -> [OutsideClue [c]] -> c
Documentation
slithergrid :: Backend' b => Size -> Diagram b R2 Source
Draw a Slither Link style grid of dots of the specified size.
fullgridlines :: Size -> Path R2 Source
outframe' :: Backend' b => Double -> Size -> Diagram b R2 Source
Draw a frame around the outside of a rectangle.
grid' :: Backend' b => (Diagram b R2 -> Diagram b R2) -> Size -> Diagram b R2 Source
Draw a square grid, applying the given style to the grid lines.
bgdashingG :: (Semigroup a, HasStyle a, V a ~ R2) => [Double] -> Double -> Colour Double -> a -> a Source
dashedgrid :: Backend' 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
thinEdgeStyle :: (HasStyle a, V a ~ R2) => a -> a Source
outsideGen :: (Transformable c, Monoid c, V c ~ R2) => (OutsideClue [c] -> R2) -> Double -> [OutsideClue [c]] -> c Source
outsideCells :: (Transformable c, Monoid c, V c ~ R2) => Double -> [OutsideClue [c]] -> c Source
outsideVertices :: (Transformable c, Monoid c, V c ~ R2) => Double -> [OutsideClue [c]] -> c Source