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

Contents

Description

A Quadrilateral is used to describe rectangle-like polygon with arbitrary inclination on a page.

Since: 0.26

Synopsis

Exported types

newZeroQuadrilateral :: MonadIO m => m Quadrilateral Source #

Construct a Quadrilateral struct initialized to zero.

Methods

copy

quadrilateralCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Quadrilateral

quad: a Quadrilateral to copy

-> m Quadrilateral

Returns: a new allocated copy of quad

Creates a copy of quad. The copy must be freed with quadrilateralFree after use.

Since: 0.26

free

quadrilateralFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Quadrilateral

quad: a Quadrilateral

-> m () 

Frees the memory used by quad

Since: 0.26

new

quadrilateralNew Source #

Arguments

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

Returns: a new Quadrilateral.

Creates a new Quadrilateral. It must be freed with quadrilateralFree after use.

Since: 0.26

Properties

p1

p2

p3

p4