revP, flipP

Placer modifying combinators

Types

revP :: Placer -> Placer
flipP :: Placer -> Placer

Synopsis

revP placer

Description

These functions modify placers. revP returns a placer which places the boxes in the opposite order. flipP transforms a placer into a mirror symmetric placer with respect to the line x=y.

Arguments

placer :: Placer
the placer to modify.

Equalities

  verticalP = flipP horizontalP
  horizontalP = flipP verticalP
  flipP (flipP placer) = placer
  revP (revP placer) = placer

See Also

horizontalP et al, Dynamic Layout.