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 |
- newtype RectangleInt = RectangleInt (ManagedPtr RectangleInt)
- newZeroRectangleInt :: MonadIO m => m RectangleInt
- noRectangleInt :: Maybe RectangleInt
- getRectangleIntHeight :: MonadIO m => RectangleInt -> m Int32
- setRectangleIntHeight :: MonadIO m => RectangleInt -> Int32 -> m ()
- getRectangleIntWidth :: MonadIO m => RectangleInt -> m Int32
- setRectangleIntWidth :: MonadIO m => RectangleInt -> Int32 -> m ()
- getRectangleIntX :: MonadIO m => RectangleInt -> m Int32
- setRectangleIntX :: MonadIO m => RectangleInt -> Int32 -> m ()
- getRectangleIntY :: MonadIO m => RectangleInt -> m Int32
- setRectangleIntY :: MonadIO m => RectangleInt -> Int32 -> m ()
Exported types
newtype RectangleInt Source #
BoxedObject RectangleInt Source # | |
(~) AttrOpTag tag AttrSet => Constructible RectangleInt tag Source # | |
newZeroRectangleInt :: MonadIO m => m RectangleInt Source #
Construct a RectangleInt
struct initialized to zero.
Properties
height
getRectangleIntHeight :: MonadIO m => RectangleInt -> m Int32 Source #
setRectangleIntHeight :: MonadIO m => RectangleInt -> Int32 -> m () Source #
width
getRectangleIntWidth :: MonadIO m => RectangleInt -> m Int32 Source #
setRectangleIntWidth :: MonadIO m => RectangleInt -> Int32 -> m () Source #
x
getRectangleIntX :: MonadIO m => RectangleInt -> m Int32 Source #
setRectangleIntX :: MonadIO m => RectangleInt -> Int32 -> m () Source #
y
getRectangleIntY :: MonadIO m => RectangleInt -> m Int32 Source #
setRectangleIntY :: MonadIO m => RectangleInt -> Int32 -> m () Source #