gi-poppler-0.18.11: 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.Rectangle

Contents

Description

A Rectangle is used to describe locations on a page and bounding boxes

Synopsis

Exported types

newtype Rectangle Source #

Instances

BoxedObject Rectangle Source # 
(~) AttrOpTag tag AttrSet => Constructible Rectangle tag Source # 

Methods

new :: MonadIO m => (ManagedPtr Rectangle -> Rectangle) -> [AttrOp Rectangle tag] -> m Rectangle #

((~) * info (ResolveRectangleMethod t Rectangle), MethodInfo * info Rectangle p) => IsLabel t (Rectangle -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> Rectangle -> p #

((~) * info (ResolveRectangleMethod t Rectangle), MethodInfo * info Rectangle p) => IsLabelProxy t (Rectangle -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Rectangle -> p #

HasAttributeList * Rectangle Source # 
((~) * signature (m ()), MonadIO m) => MethodInfo * RectangleFreeMethodInfo Rectangle signature Source # 
((~) * signature (m Rectangle), MonadIO m) => MethodInfo * RectangleCopyMethodInfo Rectangle signature Source # 
type AttributeList Rectangle Source # 

newZeroRectangle :: MonadIO m => m Rectangle Source #

Construct a Rectangle struct initialized to zero.

Methods

copy

rectangleCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Rectangle

rectangle: a Rectangle to copy

-> m Rectangle

Returns: a new allocated copy of rectangle

Creates a copy of rectangle

free

rectangleFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Rectangle

rectangle: a Rectangle

-> m () 

Frees the given Rectangle

new

rectangleNew Source #

Arguments

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

Returns: a new Rectangle, use rectangleFree to free it

Creates a new Rectangle

Properties

x1

x2

y1

y2