Main Page   Modules   Compound List   File List   Compound Members   File Members  

Composite one image on another
[Image Package]


Functions

Gan_Imagegan_image_composite_q (Gan_Image *source, Gan_Image *source_with_alpha, Gan_Image *dest)
 Macro: Composite images.

Gan_Imagegan_image_composite_i (Gan_Image *image, Gan_Image *source_with_alpha)
 Macro: Composite with overwriting.

Gan_Imagegan_image_composite_s (Gan_Image *image, Gan_Image *source_with_alpha)
 Macro: Composite into a new image.


Function Documentation

Gan_Image* gan_image_composite_i Gan_Image   image,
Gan_Image   source_with_alpha
 

Macro: Composite with overwriting.

Parameters:
image The input/output image
source_with_alpha The input image with the alpha channel
Returns:
Composited image, or NULL on failure.
Composites the image source_with_alpha onto the given image, overwriting the result onto image.

See also:
gan_image_composite_q().

Gan_Image* gan_image_composite_q Gan_Image   source,
Gan_Image   source_with_alpha,
Gan_Image   dest
 

Macro: Composite images.

Parameters:
source The input image
source_with_alpha The input image with the alpha channel
dest The destination image
Returns:
Composited dest image, or NULL on failure.
Composites the image source_with_alpha onto the given image source, writing the result onto dest.

See also:
gan_image_composite_i().

Gan_Image* gan_image_composite_s Gan_Image   image,
Gan_Image   source_with_alpha
 

Macro: Composite into a new image.

Parameters:
image The input image
source_with_alpha The input image with the alpha channel
Returns:
Composited output image, or NULL on failure.
Composites the image source_with_alpha onto the given image, overwriting the result onto image.

See also:
gan_image_composite_q().


Generated on Mon Oct 13 16:14:51 2003 by doxygen1.3-rc1