opencv-0.0.2.1: Haskell binding to OpenCV-3.x
OpenCV.Core.Types.Size
Contents
data Size (depth :: *) Source #
Instances
Methods
showsPrec :: Int -> Size a -> ShowS #
show :: Size a -> String #
showList :: [Size a] -> ShowS #
withPtr :: Size depth -> (Ptr (C (Size depth)) -> IO b) -> IO b
class IsSize (p :: * -> *) (depth :: *) where Source #
Minimal complete definition
toSize, fromSize
toSize :: p depth -> Size depth Source #
fromSize :: Size depth -> p depth Source #
toSizeIO :: p depth -> IO (Size depth) Source #
type Size2i = Size Int32 Source #
type Size2f = Size CFloat Source #
type Size2d = Size CDouble Source #
fromPtr :: IO (Ptr (C Size2i)) -> IO Size2i
fromPtr :: IO (Ptr (C Size2f)) -> IO Size2f
fromPtr :: IO (Ptr (C Size2d)) -> IO Size2d
toSize :: V2 Int32 -> Size Int32 Source #
fromSize :: Size Int32 -> V2 Int32 Source #
toSizeIO :: V2 Int32 -> IO (Size Int32) Source #
toSize :: V2 CFloat -> Size CFloat Source #
fromSize :: Size CFloat -> V2 CFloat Source #
toSizeIO :: V2 CFloat -> IO (Size CFloat) Source #
toSize :: V2 CDouble -> Size CDouble Source #
fromSize :: Size CDouble -> V2 CDouble Source #
toSizeIO :: V2 CDouble -> IO (Size CDouble) Source #
toSize :: Size Int32 -> Size Int32 Source #
fromSize :: Size Int32 -> Size Int32 Source #
toSizeIO :: Size Int32 -> IO (Size Int32) Source #
toSize :: Size CFloat -> Size CFloat Source #
fromSize :: Size CFloat -> Size CFloat Source #
toSizeIO :: Size CFloat -> IO (Size CFloat) Source #
toSize :: Size CDouble -> Size CDouble Source #
fromSize :: Size CDouble -> Size CDouble Source #
toSizeIO :: Size CDouble -> IO (Size CDouble) Source #