gi-poppler-0.18.18: Poppler bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Poppler.Structs.AnnotMapping

Contents

Description

A AnnotMapping structure represents the location of annot on the page

Synopsis

Exported types

newtype AnnotMapping Source #

Memory-managed wrapper type.

newZeroAnnotMapping :: MonadIO m => m AnnotMapping Source #

Construct a AnnotMapping struct initialized to zero.

Methods

copy

annotMappingCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> AnnotMapping

mapping: a AnnotMapping to copy

-> m AnnotMapping

Returns: a new allocated copy of mapping

Creates a copy of mapping

free

annotMappingFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> AnnotMapping

mapping: a AnnotMapping

-> m () 

Frees the given AnnotMapping

new

annotMappingNew Source #

Arguments

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

Returns: a new AnnotMapping, use annotMappingFree to free it

Creates a new AnnotMapping

Properties

annot

clearAnnotMappingAnnot :: MonadIO m => AnnotMapping -> m () Source #

Set the value of the “annot” field to Nothing. When overloading is enabled, this is equivalent to

clear #annot

getAnnotMappingAnnot :: MonadIO m => AnnotMapping -> m (Maybe Annot) Source #

Get the value of the “annot” field. When overloading is enabled, this is equivalent to

get annotMapping #annot

setAnnotMappingAnnot :: MonadIO m => AnnotMapping -> Ptr Annot -> m () Source #

Set the value of the “annot” field. When overloading is enabled, this is equivalent to

set annotMapping [ #annot := value ]

area

a Rectangle representing an area of the page

getAnnotMappingArea :: MonadIO m => AnnotMapping -> m Rectangle Source #

Get the value of the “area” field. When overloading is enabled, this is equivalent to

get annotMapping #area