gi-poppler-0.18.14: Poppler bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Poppler.Structs.Point

Contents

Description

A Point is used to describe a location point on a page

Synopsis

Exported types

newtype Point Source #

Constructors

Point (ManagedPtr Point) 

Instances

newZeroPoint :: MonadIO m => m Point Source #

Construct a Point struct initialized to zero.

Methods

copy

pointCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Point

point: a Point to copy

-> m Point

Returns: a new allocated copy of point

Creates a copy of point. The copy must be freed with pointFree after use.

Since: 0.26

free

pointFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Point

point: a Point

-> m () 

Frees the memory used by point

Since: 0.26

new

pointNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Point

Returns: a new Point

Creates a new Point. It must be freed with pointFree after use.

Since: 0.26

Properties

x

setPointX :: MonadIO m => Point -> Double -> m () Source #

y

setPointY :: MonadIO m => Point -> Double -> m () Source #