gi-poppler-0.18.22: Poppler bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Poppler.Structs.ImageMapping

Description

A ImageMapping structure represents the location of an image on the page

Synopsis

Exported types

newtype ImageMapping Source #

Memory-managed wrapper type.

newZeroImageMapping :: MonadIO m => m ImageMapping Source #

Construct a ImageMapping struct initialized to zero.

Methods

Overloaded methods

copy

imageMappingCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ImageMapping

mapping: a ImageMapping to copy

-> m ImageMapping

Returns: a new allocated copy of mapping

Creates a copy of mapping

free

imageMappingFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ImageMapping

mapping: a ImageMapping

-> m () 

Frees the given ImageMapping

new

imageMappingNew Source #

Arguments

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

Returns: a new ImageMapping, use imageMappingFree to free it

Creates a new ImageMapping

Properties

area

a Rectangle representing an area of the page

getImageMappingArea :: MonadIO m => ImageMapping -> m Rectangle Source #

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

get imageMapping #area

imageId

an image identifier

getImageMappingImageId :: MonadIO m => ImageMapping -> m Int32 Source #

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

get imageMapping #imageId

setImageMappingImageId :: MonadIO m => ImageMapping -> Int32 -> m () Source #

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

set imageMapping [ #imageId := value ]