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 #PopplerPoint is used to describe a location point on a page
- newtype Point = Point (ForeignPtr Point)
- newZeroPoint :: MonadIO m => m Point
- noPoint :: Maybe Point
- data PointCopyMethodInfo
- pointCopy :: MonadIO m => Point -> m Point
- data PointFreeMethodInfo
- pointFree :: MonadIO m => Point -> m ()
- pointNew :: MonadIO m => m Point
- pointReadX :: Point -> IO Double
- pointReadY :: Point -> IO Double
Exported types
BoxedObject Point 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 | |
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) PointFreeMethodInfo Point signature Source | |
((~) (TYPE Lifted) signature (m Point), MonadIO m) => MethodInfo (TYPE Lifted) PointCopyMethodInfo Point signature Source | |
newZeroPoint :: MonadIO m => m Point Source
Construct a Point
struct initialized to zero.
Methods
pointCopy
data PointCopyMethodInfo Source
((~) (TYPE Lifted) signature (m Point), MonadIO m) => MethodInfo (TYPE Lifted) PointCopyMethodInfo Point signature Source | |
pointFree
data PointFreeMethodInfo Source
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) PointFreeMethodInfo Point signature Source | |
pointNew
Properties
X
pointReadX :: Point -> IO Double Source
Y
pointReadY :: Point -> IO Double Source