MagickWand  7.0.2
composite.c File Reference
#include "MagickWand/studio.h"
#include "MagickWand/MagickWand.h"
#include "MagickWand/mogrify-private.h"
#include "MagickCore/string-private.h"
Include dependency graph for composite.c:

Go to the source code of this file.

Data Structures

struct  _CompositeOptions
 

Macros

#define NotInitialized   (unsigned int) (~0)
 
#define DestroyComposite()
 
#define ThrowCompositeException(asperity, tag, option)
 
#define ThrowCompositeInvalidArgumentException(option, argument)
 

Typedefs

typedef struct _CompositeOptions CompositeOptions
 

Functions

static MagickBooleanType CompositeImageList (ImageInfo *image_info, Image **image, Image *composite_image, CompositeOptions *composite_options, ExceptionInfo *exception)
 
static MagickBooleanType CompositeUsage (void)
 
static void GetCompositeOptions (CompositeOptions *composite_options)
 
static void RelinquishCompositeOptions (CompositeOptions *composite_options)
 
WandExport MagickBooleanType CompositeImageCommand (ImageInfo *image_info, int argc, char **argv, char **metadata, ExceptionInfo *exception)
 

Macro Definition Documentation

#define DestroyComposite ( )
Value:
{ \
RelinquishCompositeOptions(&composite_options); \
for (i=0; i < (ssize_t) argc; i++) \
argv[i]=DestroyString(argv[i]); \
argv=(char **) RelinquishMagickMemory(argv); \
}
#define DestroyImageStack()
static void RelinquishCompositeOptions(CompositeOptions *composite_options)
Definition: composite.c:379

Referenced by CompositeImageCommand().

#define NotInitialized   (unsigned int) (~0)
#define ThrowCompositeException (   asperity,
  tag,
  option 
)
Value:
{ \
(void) ThrowMagickException(exception,GetMagickModule(),asperity,tag,"`%s'", \
option == (char *) NULL ? GetExceptionMessage(errno) : option); \
return(MagickFalse); \
}
#define DestroyComposite()

Referenced by CompositeImageCommand().

#define ThrowCompositeInvalidArgumentException (   option,
  argument 
)
Value:
{ \
(void) ThrowMagickException(exception,GetMagickModule(),OptionError, \
"InvalidArgument","'%s': %s",option,argument); \
return(MagickFalse); \
}
#define DestroyComposite()

Referenced by CompositeImageCommand().

Typedef Documentation

Function Documentation

static MagickBooleanType CompositeImageList ( ImageInfo *  image_info,
Image **  image,
Image *  composite_image,
CompositeOptions composite_options,
ExceptionInfo *  exception 
)
static
static MagickBooleanType CompositeUsage ( void  )
static

Definition at line 229 of file composite.c.

Referenced by CompositeImageCommand().

static void GetCompositeOptions ( CompositeOptions composite_options)
static

Definition at line 372 of file composite.c.

References _CompositeOptions::channel, and _CompositeOptions::compose.

Referenced by CompositeImageCommand().

static void RelinquishCompositeOptions ( CompositeOptions composite_options)
static

Definition at line 379 of file composite.c.

References _CompositeOptions::compose_args, and _CompositeOptions::geometry.

Referenced by CompositeImageCommand().