~alcinnz/CatTrap

ref: 272852e8b518fb81dcd92d785f8284a713df0e2b CatTrap/Graphics/Layout/Flow.hs -rw-r--r-- 781 bytes
272852e8 — Adrian Cochrane Draft new CatTrap API which hopefully is easier to implement. 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Graphics.Layout.Flow where

import Graphics.Layout.Box

flowMinWidth :: Double -> PaddedBox Length -> [PaddedBox Length] -> Double
flowNatWidth :: Double -> PaddedBox Length -> [PaddedBox Length] -> Double
flowMaxWidth :: PaddedBox Double -> PaddedBox Length -> Double
flowWidth :: PaddedBox Double -> PaddedBox Length -> Double
flowNatHeight :: PaddedBox Length -> [PaddedBox Double] -> Double
flowMinHeight :: Double -> PaddedBox Double -> Double
flowMaxHeight :: Double -> PaddedBox Double -> Double
flowHeight :: Double -> PaddedBox Double -> Double
positionFlow :: PaddedBox Double -> [PaddedBox Double] -> [Size Double]
layoutFlow :: PaddedBox Double -> PaddedBox Length -> [PaddedBox Length] -> Bool ->
        [(PaddedBox Double, [(Size Double, PaddedBox Double)])]