mupdf
Loading...
Searching...
No Matches
transition.h File Reference
Include dependency graph for transition.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fz_transition

Enumerations

enum  {
  FZ_TRANSITION_NONE = 0 , FZ_TRANSITION_SPLIT , FZ_TRANSITION_BLINDS , FZ_TRANSITION_BOX ,
  FZ_TRANSITION_WIPE , FZ_TRANSITION_DISSOLVE , FZ_TRANSITION_GLITTER , FZ_TRANSITION_FLY ,
  FZ_TRANSITION_PUSH , FZ_TRANSITION_COVER , FZ_TRANSITION_UNCOVER , FZ_TRANSITION_FADE
}

Functions

int fz_generate_transition (fz_context *ctx, fz_pixmap *tpix, fz_pixmap *opix, fz_pixmap *npix, int time, fz_transition *trans)

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
FZ_TRANSITION_NONE 
FZ_TRANSITION_SPLIT 
FZ_TRANSITION_BLINDS 
FZ_TRANSITION_BOX 
FZ_TRANSITION_WIPE 
FZ_TRANSITION_DISSOLVE 
FZ_TRANSITION_GLITTER 
FZ_TRANSITION_FLY 
FZ_TRANSITION_PUSH 
FZ_TRANSITION_COVER 
FZ_TRANSITION_UNCOVER 
FZ_TRANSITION_FADE 

Function Documentation

◆ fz_generate_transition()

int fz_generate_transition ( fz_context * ctx,
fz_pixmap * tpix,
fz_pixmap * opix,
fz_pixmap * npix,
int time,
fz_transition * trans )

Generate a frame of a transition.

tpix: Target pixmap opix: Old pixmap npix: New pixmap time: Position within the transition (0 to 256) trans: Transition details

Returns 1 if successfully generated a frame.

Note: Pixmaps must include alpha.