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.Rectangle

Contents

Description

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

Synopsis

Exported types

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