Geomancy.Layout
type Offset = Float Source #
horizontal :: Either Offset Origin -> Box -> (Box, Box) Source #
vertical :: Either Offset Origin -> Box -> (Box, Box) Source #
cutLeft :: Offset -> Box -> (Box, Box) Source #
cutRight :: Offset -> Box -> (Box, Box) Source #
cutTop :: Offset -> Box -> (Box, Box) Source #
cutBottom :: Offset -> Box -> (Box, Box) Source #
splitLeft :: Origin -> Box -> (Box, Box) Source #
splitRight :: Origin -> Box -> (Box, Box) Source #
splitTop :: Origin -> Box -> (Box, Box) Source #
splitBottom :: Origin -> Box -> (Box, Box) Source #
attachLeft :: Offset -> Box -> Box -> Box Source #
attachRight :: Offset -> Box -> Box -> Box Source #
alignV :: Origin -> Box -> Box -> Box Source #
attachTop :: Float -> Box -> Box -> Box Source #
attachBottom :: Float -> Box -> Box -> Box Source #
alignH :: Origin -> Box -> Box -> Box Source #
placeSize :: Alignment -> Vec2 -> Box -> Box Source #
placeAspect :: Alignment -> Vec2 -> Box -> Box Source #