Main Page | Modules | Class List | File List | Class Members | File Members

Composite one image on another
[Image Package]


Functions

Gan_Imagegan_image_composite_q (Gan_Image *source, const Gan_Image *source_with_alpha, const Gan_Image *source_mask, Gan_Image *dest)
 Macro: Composite images.
Gan_Imagegan_image_blend_q (Gan_Image *source1, const Gan_Image *source2, const Gan_Image *alpha, Gan_Bool invert_alpha, const Gan_Image *mask, Gan_Image *dest)
 Macro: Blend images.
Gan_Imagegan_image_composite_i (Gan_Image *image, const Gan_Image *source_with_alpha, const Gan_Image *source_mask)
 Macro: Composite with overwriting.
Gan_Imagegan_image_composite_s (Gan_Image *image, const Gan_Image *source_with_alpha, const Gan_Image *source_mask)
 Macro: Composite into a new image.
Gan_Imagegan_image_blend_i (Gan_Image *image, const Gan_Image *source2, const Gan_Image *alpha, Gan_Bool invert_alpha, const Gan_Image *mask)
 Macro: Blend with overwriting.
Gan_Imagegan_image_blend_s (Gan_Image *image, const Gan_Image *source2, const Gan_Image *alpha, Gan_Bool invert_alpha, const Gan_Image *mask)
 Macro: Blend images into a new image.

Function Documentation

Gan_Image* gan_image_blend_i Gan_Image image,
const Gan_Image source2,
const Gan_Image alpha,
Gan_Bool  invert_alpha,
const Gan_Image mask
 

Macro: Blend with overwriting.

Parameters:
image The input/output image
source2 The second input image
alpha Alpha image
invert_alpha Whether to invert the alpha image
mask Mask for blend
Returns:
Composited image, or NULL on failure.
Blends the image source2 with the given image, overwriting the result onto image.

See also:
gan_image_blend_q().

Gan_Image * gan_image_blend_q Gan_Image source1,
const Gan_Image source2,
const Gan_Image alpha,
Gan_Bool  invert_alpha,
const Gan_Image mask,
Gan_Image dest
 

Macro: Blend images.

Parameters:
source1 The first input image
source2 The second input image
alpha Alpha image
invert_alpha Whether to invert the alpha image
mask Mask for blend
dest The destination image
Returns:
Blended dest image, or NULL on failure.
Blends the image source1 with source2, writing the result onto dest.

See also:
gan_image_blend_i().

Gan_Image* gan_image_blend_s Gan_Image image,
const Gan_Image source2,
const Gan_Image alpha,
Gan_Bool  invert_alpha,
const Gan_Image mask
 

Macro: Blend images into a new image.

Parameters:
image The input image
source2 The second input image
alpha Alpha image
invert_alpha Whether to invert the alpha image
mask Mask for blend
Returns:
Composited output image, or NULL on failure.
Blends the image source2 with the given image, overwriting the result onto image.

See also:
gan_image_blend_q().

Gan_Image* gan_image_composite_i Gan_Image image,
const Gan_Image source_with_alpha,
const Gan_Image source_mask
 

Macro: Composite with overwriting.

Parameters:
image The input/output image
source_with_alpha The input image with the alpha channel
source_mask Binary mask for source image or NULL
Returns:
Composited image, or NULL on failure.
Composites the image source_with_alpha onto the given image, overwriting the result onto image. If source_mask is not NULL, only pixels in the mask are composited.

See also:
gan_image_composite_q().

Gan_Image * gan_image_composite_q Gan_Image source,
const Gan_Image source_with_alpha,
const Gan_Image source_mask,
Gan_Image dest
 

Macro: Composite images.

Parameters:
source The input image
source_with_alpha The input image with the alpha channel
source_mask Binary mask for source image or NULL
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,
const Gan_Image source_with_alpha,
const Gan_Image source_mask
 

Macro: Composite into a new image.

Parameters:
image The input image
source_with_alpha The input image with the alpha channel
source_mask Binary mask for source image or NULL
Returns:
Composited output image, or NULL on failure.
Composites the image source_with_alpha onto the given image, overwriting the result onto image. If source_mask is not NULL, only pixels in the mask are composited.

See also:
gan_image_composite_q().


Generated on Fri Mar 17 12:45:01 2006 by  doxygen 1.3.9.1