Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Defines the x and y coordinates of a point.
- newtype Point = Point (ForeignPtr Point)
- newZeroPoint :: MonadIO m => m Point
- noPoint :: Maybe Point
- pointReadX :: Point -> IO Int32
- pointReadY :: Point -> IO Int32
Exported types
newZeroPoint :: MonadIO m => m Point Source
Construct a Point
struct initialized to zero.
Properties
X
pointReadX :: Point -> IO Int32 Source
Y
pointReadY :: Point -> IO Int32 Source