Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
GI.Poppler.Objects.AnnotTextMarkup
Contents
Description
- newtype AnnotTextMarkup = AnnotTextMarkup (ManagedPtr AnnotTextMarkup)
- class GObject o => IsAnnotTextMarkup o
- toAnnotTextMarkup :: (MonadIO m, IsAnnotTextMarkup o) => o -> m AnnotTextMarkup
- noAnnotTextMarkup :: Maybe AnnotTextMarkup
- annotTextMarkupGetQuadrilaterals :: (HasCallStack, MonadIO m, IsAnnotTextMarkup a) => a -> m [Quadrilateral]
- annotTextMarkupNewHighlight :: (HasCallStack, MonadIO m, IsDocument a) => a -> Rectangle -> [Quadrilateral] -> m AnnotTextMarkup
- annotTextMarkupNewSquiggly :: (HasCallStack, MonadIO m, IsDocument a) => a -> Rectangle -> [Quadrilateral] -> m AnnotTextMarkup
- annotTextMarkupNewStrikeout :: (HasCallStack, MonadIO m, IsDocument a) => a -> Rectangle -> [Quadrilateral] -> m AnnotTextMarkup
- annotTextMarkupNewUnderline :: (HasCallStack, MonadIO m, IsDocument a) => a -> Rectangle -> [Quadrilateral] -> m AnnotTextMarkup
- annotTextMarkupSetQuadrilaterals :: (HasCallStack, MonadIO m, IsAnnotTextMarkup a) => a -> [Quadrilateral] -> m ()
Exported types
newtype AnnotTextMarkup Source #
Constructors
AnnotTextMarkup (ManagedPtr AnnotTextMarkup) |
class GObject o => IsAnnotTextMarkup o Source #
Instances
toAnnotTextMarkup :: (MonadIO m, IsAnnotTextMarkup o) => o -> m AnnotTextMarkup Source #
Methods
getQuadrilaterals
annotTextMarkupGetQuadrilaterals Source #
Arguments
:: (HasCallStack, MonadIO m, IsAnnotTextMarkup a) | |
=> a |
|
-> m [Quadrilateral] | Returns: A |
Returns a Array
of Quadrilateral
items that map from a
location on page
to a AnnotTextMarkup
. This array must be freed
when done.
Since: 0.26
newHighlight
annotTextMarkupNewHighlight Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Rectangle |
|
-> [Quadrilateral] |
|
-> m AnnotTextMarkup | Returns: A newly created |
Creates a new Highlight Text annotation that will be
located on rect
when added to a page. See pageAddAnnot
Since: 0.26
newSquiggly
annotTextMarkupNewSquiggly Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Rectangle |
|
-> [Quadrilateral] |
|
-> m AnnotTextMarkup | Returns: A newly created |
Creates a new Squiggly Text annotation that will be
located on rect
when added to a page. See pageAddAnnot
Since: 0.26
newStrikeout
annotTextMarkupNewStrikeout Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Rectangle |
|
-> [Quadrilateral] |
|
-> m AnnotTextMarkup | Returns: A newly created |
Creates a new Strike Out Text annotation that will be
located on rect
when added to a page. See pageAddAnnot
Since: 0.26
newUnderline
annotTextMarkupNewUnderline Source #
Arguments
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Rectangle |
|
-> [Quadrilateral] |
|
-> m AnnotTextMarkup | Returns: A newly created |
Creates a new Underline Text annotation that will be
located on rect
when added to a page. See pageAddAnnot
Since: 0.26
setQuadrilaterals
annotTextMarkupSetQuadrilaterals Source #
Arguments
:: (HasCallStack, MonadIO m, IsAnnotTextMarkup a) | |
=> a |
|
-> [Quadrilateral] |
|
-> m () |
Set the regions (Quadrilaterals) to apply the text markup in popplerAnnot
.
Since: 0.26