| 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 |
GI.Poppler.Structs.Point
Contents
Description
A Point is used to describe a location point on a page
- newtype Point = Point (ManagedPtr Point)
- newZeroPoint :: MonadIO m => m Point
- noPoint :: Maybe Point
- pointCopy :: (HasCallStack, MonadIO m) => Point -> m Point
- pointFree :: (HasCallStack, MonadIO m) => Point -> m ()
- pointNew :: (HasCallStack, MonadIO m) => m Point
- getPointX :: MonadIO m => Point -> m Double
- setPointX :: MonadIO m => Point -> Double -> m ()
- getPointY :: MonadIO m => Point -> m Double
- setPointY :: MonadIO m => Point -> Double -> m ()
Exported types
Constructors
| Point (ManagedPtr Point) |
Instances
| BoxedObject Point Source # | |
| (~) AttrOpTag tag AttrSet => Constructible Point tag Source # | |
Methods
copy
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Point |
|
| -> m Point | Returns: a new allocated copy of |
Creates a copy of point. The copy must be freed with pointFree
after use.
Since: 0.26
free
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Point |
|
| -> m () |
Frees the memory used by point
Since: 0.26
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m Point | Returns: a new |