~alcinnz/CatTrap

ref: 474bbc4e0ba0be7bdb7b84d0dba7d84931a555a0 CatTrap/Graphics/Layout/Flow.hs -rw-r--r-- 464 bytes
474bbc4e — Adrian Cochrane Draft shunting yard interpreter for calc(). 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
module Graphics.Layout.Flow where

import Graphics.Layout.Box
import Stylist.Tree (StyleTree(..))

sizeBoundFlow :: PaddedBox Length -> [PaddedBox Length] -> PaddedBox Length
sizeFlow :: PaddedBox Double -> PaddedBox Length -> PaddedBox Double
positionFlow :: PaddedBox Double -> [PaddedBox Double] -> [Size Double]
layoutFlow :: PaddedBox Double -> PaddedBox Length -> [PaddedBox Length] -> Bool ->
        [(PaddedBox Double, [(Size Double, PaddedBox Double)])]