Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Defines the x and y coordinates of a point.
Exported types
Memory-managed wrapper type.
Instances
Eq Point Source # | |
BoxedPtr Point Source # | |
Defined in GI.Gdk.Structs.Point boxedPtrCopy :: Point -> IO Point boxedPtrFree :: Point -> IO () | |
CallocPtr Point Source # | |
Defined in GI.Gdk.Structs.Point boxedPtrCalloc :: IO (Ptr Point) | |
ManagedPtrNewtype Point Source # | |
Defined in GI.Gdk.Structs.Point toManagedPtr :: Point -> ManagedPtr Point | |
tag ~ 'AttrSet => Constructible Point tag Source # | |
Methods
Overloaded methods
Properties
x
the x coordinate of the point.
getPointX :: MonadIO m => Point -> m Int32 Source #
Get the value of the “x
” field.
When overloading is enabled, this is equivalent to
get
point #x
setPointX :: MonadIO m => Point -> Int32 -> m () Source #
Set the value of the “x
” field.
When overloading is enabled, this is equivalent to
set
point [ #x:=
value ]
y
the y coordinate of the point.