gi-poppler-0.18.29: Poppler bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Poppler.Objects.AnnotStamp

Description

No description available in the introspection data.

Synopsis

Exported types

newtype AnnotStamp Source #

Memory-managed wrapper type.

Constructors

AnnotStamp (ManagedPtr AnnotStamp) 

Instances

Instances details
Eq AnnotStamp Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotStamp

GObject AnnotStamp Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotStamp

ManagedPtrNewtype AnnotStamp Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotStamp

Methods

toManagedPtr :: AnnotStamp -> ManagedPtr AnnotStamp

TypedObject AnnotStamp Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotStamp

Methods

glibType :: IO GType

HasParentTypes AnnotStamp Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotStamp

IsGValue (Maybe AnnotStamp) Source #

Convert AnnotStamp to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Poppler.Objects.AnnotStamp

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe AnnotStamp -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe AnnotStamp)

type ParentTypes AnnotStamp Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotStamp

type ParentTypes AnnotStamp = '[Annot, Object]

class (GObject o, IsDescendantOf AnnotStamp o) => IsAnnotStamp o Source #

Type class for types which can be safely cast to AnnotStamp, for instance with toAnnotStamp.

Instances

Instances details
(GObject o, IsDescendantOf AnnotStamp o) => IsAnnotStamp o Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotStamp

toAnnotStamp :: (MonadIO m, IsAnnotStamp o) => o -> m AnnotStamp Source #

Cast to AnnotStamp, for types for which this is known to be safe. For general casts, use castTo.

Methods

getIcon

annotStampGetIcon Source #

Arguments

:: (HasCallStack, MonadIO m, IsAnnotStamp a) 
=> a

popplerAnnot: a AnnotStamp

-> m AnnotStampIcon

Returns: the corresponding AnnotStampIcon of the icon

No description available in the introspection data.

Since: 22.07.0

new

annotStampNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsDocument a) 
=> a

doc: a Document

-> Rectangle

rect: a Rectangle

-> m AnnotStamp

Returns: a newly created AnnotStamp annotation

Creates a new Stamp annotation that will be located on rect when added to a page. See pageAddAnnot

Since: 22.07.0

setCustomImage

annotStampSetCustomImage Source #

Arguments

:: (HasCallStack, MonadIO m, IsAnnotStamp a) 
=> a

popplerAnnot: a AnnotStamp

-> Surface

image: an image cairo surface

-> m ()

(Can throw GError)

Sets the custom image of popplerAnnot to be image

Since: 22.07.0

setIcon

annotStampSetIcon Source #

Arguments

:: (HasCallStack, MonadIO m, IsAnnotStamp a) 
=> a

popplerAnnot: a AnnotStamp

-> AnnotStampIcon

icon: the AnnotStampIcon type of the icon

-> m () 

Sets the icon of popplerAnnot to be one of the predefined values in AnnotStampIcon

Since: 22.07.0