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

GI.Poppler.Objects.AnnotLine

Description

No description available in the introspection data.

Synopsis

Exported types

newtype AnnotLine Source #

Memory-managed wrapper type.

Constructors

AnnotLine (ManagedPtr AnnotLine) 

Instances

Instances details
Eq AnnotLine Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

GObject AnnotLine Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

ManagedPtrNewtype AnnotLine Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

Methods

toManagedPtr :: AnnotLine -> ManagedPtr AnnotLine

TypedObject AnnotLine Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

Methods

glibType :: IO GType

HasParentTypes AnnotLine Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

IsGValue (Maybe AnnotLine) Source #

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

Instance details

Defined in GI.Poppler.Objects.AnnotLine

Methods

gvalueGType_ :: IO GType

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

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

type ParentTypes AnnotLine Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

type ParentTypes AnnotLine = '[AnnotMarkup, Annot, Object]

class (GObject o, IsDescendantOf AnnotLine o) => IsAnnotLine o Source #

Type class for types which can be safely cast to AnnotLine, for instance with toAnnotLine.

Instances

Instances details
(GObject o, IsDescendantOf AnnotLine o) => IsAnnotLine o Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

toAnnotLine :: (MonadIO m, IsAnnotLine o) => o -> m AnnotLine Source #

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

Methods

new

annotLineNew Source #

Arguments

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

doc: a Document

-> Rectangle

rect: a Rectangle

-> Point

start: a Point of the starting vertice

-> Point

end: a Point of the ending vertice

-> m AnnotLine

Returns: A newly created AnnotLine annotation

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

Since: 0.26

setVertices

annotLineSetVertices Source #

Arguments

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

popplerAnnot: a AnnotLine

-> Point

start: a Point of the starting vertice

-> Point

end: a Point of the ending vertice

-> m () 

Set the coordinate points where the popplerAnnot starts and ends.

Since: 0.26