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

Constructors

ImageMapping (ManagedPtr ImageMapping) 

Instances

Instances details
Eq ImageMapping Source # 
Instance details

Defined in GI.Poppler.Structs.ImageMapping

Methods

(==) :: ImageMapping -> ImageMapping -> Bool

(/=) :: ImageMapping -> ImageMapping -> Bool

GBoxed ImageMapping Source # 
Instance details

Defined in GI.Poppler.Structs.ImageMapping

ManagedPtrNewtype ImageMapping Source # 
Instance details

Defined in GI.Poppler.Structs.ImageMapping

Methods

toManagedPtr :: ImageMapping -> ManagedPtr ImageMapping

TypedObject ImageMapping Source # 
Instance details

Defined in GI.Poppler.Structs.ImageMapping

Methods

glibType :: IO GType

IsGValue ImageMapping Source #

Convert ImageMapping to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Poppler.Structs.ImageMapping

Methods

toGValue :: ImageMapping -> IO GValue

fromGValue :: GValue -> IO ImageMapping

HasParentTypes ImageMapping Source # 
Instance details

Defined in GI.Poppler.Structs.ImageMapping

tag ~ 'AttrSet => Constructible ImageMapping tag Source # 
Instance details

Defined in GI.Poppler.Structs.ImageMapping

Methods

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

type ParentTypes ImageMapping Source # 
Instance details

Defined in GI.Poppler.Structs.ImageMapping

type ParentTypes ImageMapping = '[] :: [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 ]