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 (ManagedPtr Point)
- newZeroPoint :: MonadIO m => m Point
- noPoint :: Maybe Point
- getPointX :: MonadIO m => Point -> m Int32
- point_x :: AttrLabelProxy "x"
- setPointX :: MonadIO m => Point -> Int32 -> m ()
- getPointY :: MonadIO m => Point -> m Int32
- point_y :: AttrLabelProxy "y"
- setPointY :: MonadIO m => Point -> Int32 -> m ()
Exported types
WrappedPtr Point Source # | |
(~) AttrOpTag tag AttrSet => Constructible Point tag Source # | |
((~) * info (ResolvePointMethod t Point), MethodInfo * info Point p) => IsLabel t (Point -> p) Source # | |
((~) * info (ResolvePointMethod t Point), MethodInfo * info Point p) => IsLabelProxy t (Point -> p) Source # | |
HasAttributeList * Point Source # | |
type AttributeList Point Source # | |
Properties
x
point_x :: AttrLabelProxy "x" Source #
y
point_y :: AttrLabelProxy "y" Source #