| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte | 
|---|---|
| License | LGPL-2.1 | 
| Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
GI.Poppler.Structs.PageTransition
Contents
Description
A PageTransition structures describes a visual transition
to use when moving between pages during a presentation
Synopsis
- newtype PageTransition = PageTransition (ManagedPtr PageTransition)
 - newZeroPageTransition :: MonadIO m => m PageTransition
 - noPageTransition :: Maybe PageTransition
 - pageTransitionCopy :: (HasCallStack, MonadIO m) => PageTransition -> m PageTransition
 - pageTransitionFree :: (HasCallStack, MonadIO m) => PageTransition -> m ()
 - pageTransitionNew :: (HasCallStack, MonadIO m) => m PageTransition
 - getPageTransitionAlignment :: MonadIO m => PageTransition -> m PageTransitionAlignment
 - setPageTransitionAlignment :: MonadIO m => PageTransition -> PageTransitionAlignment -> m ()
 - getPageTransitionAngle :: MonadIO m => PageTransition -> m Int32
 - setPageTransitionAngle :: MonadIO m => PageTransition -> Int32 -> m ()
 - getPageTransitionDirection :: MonadIO m => PageTransition -> m PageTransitionDirection
 - setPageTransitionDirection :: MonadIO m => PageTransition -> PageTransitionDirection -> m ()
 - getPageTransitionDuration :: MonadIO m => PageTransition -> m Int32
 - setPageTransitionDuration :: MonadIO m => PageTransition -> Int32 -> m ()
 - getPageTransitionDurationReal :: MonadIO m => PageTransition -> m Double
 - setPageTransitionDurationReal :: MonadIO m => PageTransition -> Double -> m ()
 - getPageTransitionRectangular :: MonadIO m => PageTransition -> m Bool
 - setPageTransitionRectangular :: MonadIO m => PageTransition -> Bool -> m ()
 - getPageTransitionScale :: MonadIO m => PageTransition -> m Double
 - setPageTransitionScale :: MonadIO m => PageTransition -> Double -> m ()
 - getPageTransitionType :: MonadIO m => PageTransition -> m PageTransitionType
 - setPageTransitionType :: MonadIO m => PageTransition -> PageTransitionType -> m ()
 
Exported types
newtype PageTransition Source #
Memory-managed wrapper type.
Constructors
| PageTransition (ManagedPtr PageTransition) | 
Instances
| BoxedObject PageTransition Source # | |
Defined in GI.Poppler.Structs.PageTransition Methods boxedType :: PageTransition -> IO GType #  | |
| tag ~ AttrSet => Constructible PageTransition tag Source # | |
Defined in GI.Poppler.Structs.PageTransition Methods new :: MonadIO m => (ManagedPtr PageTransition -> PageTransition) -> [AttrOp PageTransition tag] -> m PageTransition #  | |
newZeroPageTransition :: MonadIO m => m PageTransition Source #
Construct a PageTransition struct initialized to zero.
noPageTransition :: Maybe PageTransition Source #
A convenience alias for Nothing :: Maybe PageTransition.
Methods
copy
Arguments
| :: (HasCallStack, MonadIO m) | |
| => PageTransition | 
  | 
| -> m PageTransition | Returns: a new allocated copy of   | 
Creates a copy of transition
free
Arguments
| :: (HasCallStack, MonadIO m) | |
| => PageTransition | 
  | 
| -> m () | 
Frees the given PageTransition
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m PageTransition | Returns: a new   | 
Creates a new PageTransition
Properties
alignment
the dimension in which the transition effect shall occur.
Only for POPPLER_PAGE_TRANSITION_SPLIT and POPPLER_PAGE_TRANSITION_BLINDS transition types
getPageTransitionAlignment :: MonadIO m => PageTransition -> m PageTransitionAlignment Source #
Get the value of the “alignment” field.
When overloading is enabled, this is equivalent to
get pageTransition #alignment
setPageTransitionAlignment :: MonadIO m => PageTransition -> PageTransitionAlignment -> m () Source #
Set the value of the “alignment” field.
When overloading is enabled, this is equivalent to
setpageTransition [ #alignment:=value ]
angle
the direction in which the specified transition effect shall moves,
expressed in degrees counterclockwise starting from a left-to-right direction.
Only for POPPLER_PAGE_TRANSITION_WIPE, POPPLER_PAGE_TRANSITION_GLITTER, POPPLER_PAGE_TRANSITION_FLY,
POPPLER_PAGE_TRANSITION_COVER, POPPLER_PAGE_TRANSITION_UNCOVER and POPPLER_PAGE_TRANSITION_PUSH
transition types
getPageTransitionAngle :: MonadIO m => PageTransition -> m Int32 Source #
Get the value of the “angle” field.
When overloading is enabled, this is equivalent to
get pageTransition #angle
setPageTransitionAngle :: MonadIO m => PageTransition -> Int32 -> m () Source #
Set the value of the “angle” field.
When overloading is enabled, this is equivalent to
setpageTransition [ #angle:=value ]
direction
the direction of motion for the transition effect.
Only for POPPLER_PAGE_TRANSITION_SPLIT, POPPLER_PAGE_TRANSITION_BOX and POPPLER_PAGE_TRANSITION_FLY
transition types
getPageTransitionDirection :: MonadIO m => PageTransition -> m PageTransitionDirection Source #
Get the value of the “direction” field.
When overloading is enabled, this is equivalent to
get pageTransition #direction
setPageTransitionDirection :: MonadIO m => PageTransition -> PageTransitionDirection -> m () Source #
Set the value of the “direction” field.
When overloading is enabled, this is equivalent to
setpageTransition [ #direction:=value ]
duration
the duration of the transition effect
getPageTransitionDuration :: MonadIO m => PageTransition -> m Int32 Source #
Get the value of the “duration” field.
When overloading is enabled, this is equivalent to
get pageTransition #duration
setPageTransitionDuration :: MonadIO m => PageTransition -> Int32 -> m () Source #
Set the value of the “duration” field.
When overloading is enabled, this is equivalent to
setpageTransition [ #duration:=value ]
durationReal
No description available in the introspection data.
getPageTransitionDurationReal :: MonadIO m => PageTransition -> m Double Source #
Get the value of the “duration_real” field.
When overloading is enabled, this is equivalent to
get pageTransition #durationReal
setPageTransitionDurationReal :: MonadIO m => PageTransition -> Double -> m () Source #
Set the value of the “duration_real” field.
When overloading is enabled, this is equivalent to
setpageTransition [ #durationReal:=value ]
rectangular
whether the area that will be flown is rectangular and opaque.
Only for POPPLER_PAGE_TRANSITION_FLY transition type
getPageTransitionRectangular :: MonadIO m => PageTransition -> m Bool Source #
Get the value of the “rectangular” field.
When overloading is enabled, this is equivalent to
get pageTransition #rectangular
setPageTransitionRectangular :: MonadIO m => PageTransition -> Bool -> m () Source #
Set the value of the “rectangular” field.
When overloading is enabled, this is equivalent to
setpageTransition [ #rectangular:=value ]
scale
the starting or ending scale at which the changes shall be drawn.
Only for POPPLER_PAGE_TRANSITION_FLY transition type
getPageTransitionScale :: MonadIO m => PageTransition -> m Double Source #
Get the value of the “scale” field.
When overloading is enabled, this is equivalent to
get pageTransition #scale
setPageTransitionScale :: MonadIO m => PageTransition -> Double -> m () Source #
Set the value of the “scale” field.
When overloading is enabled, this is equivalent to
setpageTransition [ #scale:=value ]
type
the type of transtition
getPageTransitionType :: MonadIO m => PageTransition -> m PageTransitionType Source #
Get the value of the “type” field.
When overloading is enabled, this is equivalent to
get pageTransition #type
setPageTransitionType :: MonadIO m => PageTransition -> PageTransitionType -> m () Source #
Set the value of the “type” field.
When overloading is enabled, this is equivalent to
setpageTransition [ #type:=value ]