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 |
A data structure for holding a rectangle. Those coordinates are relative to the component top-level parent.
- newtype Rectangle = Rectangle (ForeignPtr Rectangle)
- noRectangle :: Maybe Rectangle
- rectangleReadHeight :: Rectangle -> IO Int32
- rectangleReadWidth :: Rectangle -> IO Int32
- rectangleReadX :: Rectangle -> IO Int32
- rectangleReadY :: Rectangle -> IO Int32
Exported types
Properties
Height
Width
rectangleReadWidth :: Rectangle -> IO Int32 Source
X
rectangleReadX :: Rectangle -> IO Int32 Source
Y
rectangleReadY :: Rectangle -> IO Int32 Source