~alcinnz/CatTrap

ref: 3dce4d79a99984588660089433a6a7eb78701300 CatTrap/Graphics/Layout/Flow.hs -rw-r--r-- 464 bytes
3dce4d79 — Adrian Cochrane Unit test calc() implementation! 1 year, 9 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)])]