padd :: Point -> Point -> Point psub :: Point -> Point -> Point inRect :: Point -> Rect -> Bool =.> :: Point -> Point -> Bool scale :: (RealFrac a1, Integral b, Integral a2) => a1 -> a2 -> b scalePoint :: RealFrac a => a -> Point -> Point rectMiddle :: Rect -> Point posrect :: Rect -> Point -> Rect moverect :: Rect -> Point -> Rect sizerect :: Rect -> Size -> Rect growrect :: Rect -> Point -> Rect rect2line :: Rect -> Line line2rect :: Line -> Rect moveline :: Line -> Point -> Line freedom :: Rect -> Rect -> Point confine :: Rect -> Rect -> Rect rmax :: Rect -> Rect -> Rect pmin :: Point -> Point -> Point pmax :: Point -> Point -> Point pMin :: [Point] -> Point pMax :: [Point] -> Point plim :: Point -> Point -> Point -> Point rsub :: Rect -> Rect -> Point