1997-11-25 06:05:25 +08:00
|
|
|
/* The GIMP -- an image manipulation program
|
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
1998-04-13 13:44:11 +08:00
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
1997-11-25 06:05:25 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __PAINT_FUNCS_H__
|
|
|
|
#define __PAINT_FUNCS_H__
|
|
|
|
|
|
|
|
|
2003-12-01 01:53:39 +08:00
|
|
|
/* Called initially to setup rendering features */
|
|
|
|
void paint_funcs_setup (void);
|
1997-11-25 06:05:25 +08:00
|
|
|
void paint_funcs_free (void);
|
|
|
|
|
|
|
|
|
|
|
|
/* Paint functions */
|
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void color_pixels (guchar *dest,
|
|
|
|
const guchar *color,
|
|
|
|
guint w,
|
|
|
|
guint bytes);
|
1998-09-15 09:53:40 +08:00
|
|
|
|
2001-11-28 06:40:58 +08:00
|
|
|
void blend_pixels (const guchar *src1,
|
2004-04-15 20:38:54 +08:00
|
|
|
const guchar *src2,
|
|
|
|
guchar *dest,
|
|
|
|
guchar blend,
|
|
|
|
guint w,
|
|
|
|
guint bytes);
|
1998-09-15 09:53:40 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void shade_pixels (const guchar *src,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *color,
|
|
|
|
guchar rblend,
|
|
|
|
guint w,
|
|
|
|
guint bytes,
|
|
|
|
gboolean has_alpha);
|
1998-09-15 09:53:40 +08:00
|
|
|
|
2001-11-28 06:40:58 +08:00
|
|
|
void extract_alpha_pixels (const guchar *src,
|
2004-04-15 20:38:54 +08:00
|
|
|
const guchar *mask,
|
|
|
|
guchar *dest,
|
|
|
|
guint w,
|
|
|
|
guint bytes);
|
1998-09-15 09:53:40 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void swap_pixels (guchar *src,
|
|
|
|
guchar *dest,
|
|
|
|
guint length);
|
1998-09-15 09:53:40 +08:00
|
|
|
|
2004-02-09 08:09:20 +08:00
|
|
|
void scale_pixels (const guchar *src,
|
|
|
|
guchar *dest,
|
2004-04-15 20:38:54 +08:00
|
|
|
guint length,
|
2004-02-09 08:09:20 +08:00
|
|
|
gint scale);
|
1998-09-15 09:53:40 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void add_alpha_pixels (const guchar *src,
|
|
|
|
guchar *dest,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1998-09-15 09:53:40 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void flatten_pixels (const guchar *src,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *bg,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1998-09-15 09:53:40 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void gray_to_rgb_pixels (const guchar *src,
|
|
|
|
guchar *dest,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* apply the mask data to the alpha channel of the pixel data */
|
2004-04-15 20:38:54 +08:00
|
|
|
void apply_mask_to_alpha_channel (guchar *src,
|
|
|
|
const guchar *mask,
|
|
|
|
guint opacity,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* combine the mask data with the alpha channel of the pixel data */
|
2004-04-15 20:38:54 +08:00
|
|
|
void combine_mask_and_alpha_channel (guchar *src,
|
|
|
|
const guchar *mask,
|
|
|
|
guint opacity,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* copy gray pixels to intensity-alpha pixels. This function
|
|
|
|
* essentially takes a source that is only a grayscale image and
|
|
|
|
* copies it to the destination, expanding to RGB if necessary and
|
|
|
|
* adding an alpha channel. (OPAQUE)
|
|
|
|
*/
|
2001-11-28 06:40:58 +08:00
|
|
|
void copy_gray_to_inten_a_pixels (const guchar *src,
|
2004-04-15 20:38:54 +08:00
|
|
|
guchar *dest,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* lay down the initial pixels in the case of only one
|
|
|
|
* channel being visible and no layers...In this singular
|
|
|
|
* case, we want to display a grayscale image w/o transparency
|
|
|
|
*/
|
2001-11-28 06:40:58 +08:00
|
|
|
void initial_channel_pixels (const guchar *src,
|
2004-04-15 20:38:54 +08:00
|
|
|
guchar *dest,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* lay down the initial pixels in the case of an indexed image.
|
|
|
|
* This process obviously requires no composition
|
|
|
|
*/
|
2001-11-28 06:40:58 +08:00
|
|
|
void initial_indexed_pixels (const guchar *src,
|
2004-04-15 20:38:54 +08:00
|
|
|
guchar *dest,
|
|
|
|
const guchar *cmap,
|
|
|
|
guint length);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* lay down the initial pixels in the case of an indexed image.
|
|
|
|
* This process obviously requires no composition
|
|
|
|
*/
|
2001-11-28 06:40:58 +08:00
|
|
|
void initial_indexed_a_pixels (const guchar *src,
|
2004-04-15 20:38:54 +08:00
|
|
|
guchar *dest,
|
|
|
|
const guchar *mask,
|
|
|
|
const guchar *no_mask,
|
|
|
|
const guchar *cmap,
|
|
|
|
guint opacity,
|
|
|
|
guint length);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* lay down the initial pixels for the base layer.
|
|
|
|
* This process obviously requires no composition.
|
|
|
|
*/
|
2004-04-15 20:38:54 +08:00
|
|
|
void initial_inten_pixels (const guchar *src,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *mask,
|
|
|
|
const guchar *no_mask,
|
|
|
|
guint opacity,
|
|
|
|
const gboolean *affect,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* lay down the initial pixels for the base layer.
|
|
|
|
* This process obviously requires no composition.
|
|
|
|
*/
|
2004-04-15 20:38:54 +08:00
|
|
|
void initial_inten_a_pixels (const guchar *src,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *mask,
|
|
|
|
guint opacity,
|
|
|
|
const gboolean *affect,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* combine indexed images with an optional mask which
|
|
|
|
* is interpreted as binary...destination is indexed...
|
|
|
|
*/
|
2004-04-15 20:38:54 +08:00
|
|
|
void combine_indexed_and_indexed_pixels (const guchar *src1,
|
|
|
|
const guchar *src2,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *mask,
|
|
|
|
guint opacity,
|
|
|
|
const gboolean *affect,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* combine indexed images with indexed-alpha images
|
|
|
|
* result is an indexed image
|
|
|
|
*/
|
2001-11-28 06:40:58 +08:00
|
|
|
void combine_indexed_and_indexed_a_pixels (const guchar *src1,
|
2004-04-15 20:38:54 +08:00
|
|
|
const guchar *src2,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *mask,
|
|
|
|
guint opacity,
|
|
|
|
const gint *affect,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* combine indexed-alpha images with indexed-alpha images
|
|
|
|
* result is an indexed-alpha image. use this for painting
|
|
|
|
* to an indexed floating sel
|
|
|
|
*/
|
2004-04-15 20:38:54 +08:00
|
|
|
void combine_indexed_a_and_indexed_a_pixels(const guchar *src1,
|
|
|
|
const guchar *src2,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *mask,
|
|
|
|
guint opacity,
|
|
|
|
const gboolean *affect,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* combine intensity with indexed, destination is
|
|
|
|
* intensity-alpha...use this for an indexed floating sel
|
|
|
|
*/
|
2001-11-28 06:40:58 +08:00
|
|
|
void combine_inten_a_and_indexed_a_pixels (const guchar *src1,
|
2004-04-15 20:38:54 +08:00
|
|
|
const guchar *src2,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *mask,
|
|
|
|
const guchar *cmap,
|
|
|
|
guint opacity,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* combine RGB image with RGB or GRAY with GRAY
|
|
|
|
* destination is intensity-only...
|
|
|
|
*/
|
2004-04-15 20:38:54 +08:00
|
|
|
void combine_inten_and_inten_pixels (const guchar *src1,
|
|
|
|
const guchar *src2,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *mask,
|
|
|
|
guint opacity,
|
|
|
|
const gboolean *affect,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* combine an RGBA or GRAYA image with an RGB or GRAY image
|
|
|
|
* destination is intensity-only...
|
|
|
|
*/
|
2004-04-15 20:38:54 +08:00
|
|
|
void combine_inten_and_inten_a_pixels (const guchar *src1,
|
|
|
|
const guchar *src2,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *mask,
|
|
|
|
guint opacity,
|
|
|
|
const gboolean *affect,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* combine an RGB or GRAY image with an RGBA or GRAYA image
|
|
|
|
* destination is intensity-alpha...
|
|
|
|
*/
|
2004-04-15 20:38:54 +08:00
|
|
|
void combine_inten_a_and_inten_pixels (const guchar *src1,
|
|
|
|
const guchar *src2,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *mask,
|
|
|
|
guint opacity,
|
|
|
|
const gboolean *affect,
|
|
|
|
gboolean mode_affect,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* combine an RGBA or GRAYA image with an RGBA or GRAYA image
|
|
|
|
* destination is of course intensity-alpha...
|
|
|
|
*/
|
2004-04-15 20:38:54 +08:00
|
|
|
void combine_inten_a_and_inten_a_pixels (const guchar *src1,
|
|
|
|
const guchar *src2,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *mask,
|
|
|
|
guint opacity,
|
|
|
|
const gboolean *affect,
|
|
|
|
gboolean mode_affect,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* combine a channel with intensity-alpha pixels based
|
|
|
|
* on some opacity, and a channel color...
|
|
|
|
* destination is intensity-alpha
|
|
|
|
*/
|
2001-11-28 06:40:58 +08:00
|
|
|
void combine_inten_a_and_channel_mask_pixels(const guchar *src,
|
2004-04-15 20:38:54 +08:00
|
|
|
const guchar *channel,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *col,
|
|
|
|
guint opacity,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
2001-11-28 06:40:58 +08:00
|
|
|
|
|
|
|
void combine_inten_a_and_channel_selection_pixels(const guchar *src,
|
2004-04-15 20:38:54 +08:00
|
|
|
const guchar *channel,
|
|
|
|
guchar *dest,
|
|
|
|
const guchar *col,
|
|
|
|
guint opacity,
|
|
|
|
guint length,
|
|
|
|
guint bytes);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* extract information from intensity pixels based on
|
|
|
|
* a mask.
|
|
|
|
*/
|
2001-11-28 06:40:58 +08:00
|
|
|
void extract_from_inten_pixels (guchar *src,
|
2004-04-15 20:38:54 +08:00
|
|
|
guchar *dest,
|
|
|
|
const guchar *mask,
|
|
|
|
const guchar *bg,
|
|
|
|
gboolean cut,
|
|
|
|
guint length,
|
|
|
|
guint bytes,
|
|
|
|
gboolean has_alpha);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* extract information from indexed pixels based on
|
|
|
|
* a mask.
|
|
|
|
*/
|
2002-02-12 19:32:56 +08:00
|
|
|
void extract_from_indexed_pixels (guchar *src,
|
2004-04-15 20:38:54 +08:00
|
|
|
guchar *dest,
|
|
|
|
const guchar *mask,
|
|
|
|
const guchar *cmap,
|
|
|
|
const guchar *bg,
|
|
|
|
gboolean cut,
|
|
|
|
guint length,
|
|
|
|
guint bytes,
|
|
|
|
gboolean has_alpha);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* Region functions */
|
2003-09-28 04:04:07 +08:00
|
|
|
void color_region (PixelRegion *dest,
|
2004-04-15 20:38:54 +08:00
|
|
|
const guchar *color);
|
2003-09-28 04:04:07 +08:00
|
|
|
void color_region_mask (PixelRegion *dest,
|
|
|
|
PixelRegion *mask,
|
2004-04-15 20:38:54 +08:00
|
|
|
const guchar *color);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2003-09-28 04:04:07 +08:00
|
|
|
void pattern_region (PixelRegion *dest,
|
|
|
|
PixelRegion *mask,
|
2004-04-15 20:38:54 +08:00
|
|
|
TempBuf *pattern,
|
2003-09-28 04:04:07 +08:00
|
|
|
gint off_x,
|
|
|
|
gint off_y);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void blend_region (PixelRegion *src1,
|
|
|
|
PixelRegion *src2,
|
|
|
|
PixelRegion *dest,
|
|
|
|
guchar blend);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void shade_region (PixelRegion *src,
|
|
|
|
PixelRegion *dest,
|
|
|
|
guchar *color,
|
|
|
|
guchar blend);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void copy_region (PixelRegion *src,
|
|
|
|
PixelRegion *dest);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void add_alpha_region (PixelRegion *src,
|
|
|
|
PixelRegion *dest);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void flatten_region (PixelRegion *src,
|
|
|
|
PixelRegion *dest,
|
|
|
|
guchar *bg);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void extract_alpha_region (PixelRegion *src,
|
|
|
|
PixelRegion *mask,
|
|
|
|
PixelRegion *dest);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void extract_from_region (PixelRegion *src,
|
|
|
|
PixelRegion *dest,
|
|
|
|
PixelRegion *mask,
|
|
|
|
guchar *cmap,
|
|
|
|
guchar *bg,
|
|
|
|
gint type,
|
|
|
|
gboolean has_alpha,
|
|
|
|
gboolean cut);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void convolve_region (PixelRegion *srcR,
|
|
|
|
PixelRegion *destR,
|
2004-05-31 15:45:50 +08:00
|
|
|
gfloat *matrix,
|
2004-04-15 20:38:54 +08:00
|
|
|
gint size,
|
2004-05-31 15:45:50 +08:00
|
|
|
gdouble divisor,
|
2004-05-31 18:36:06 +08:00
|
|
|
GimpConvolutionType mode,
|
|
|
|
gboolean alpha_weighting);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void multiply_alpha_region (PixelRegion *srcR);
|
1997-12-08 09:13:10 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void separate_alpha_region (PixelRegion *srcR);
|
1997-12-08 09:13:10 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void gaussian_blur_region (PixelRegion *srcR,
|
|
|
|
gdouble radius_x,
|
|
|
|
gdouble radius_y);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void border_region (PixelRegion *src,
|
|
|
|
gint16 xradius,
|
|
|
|
gint16 yradius);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-02-09 08:09:20 +08:00
|
|
|
void scale_region (PixelRegion *srcPR,
|
|
|
|
PixelRegion *destPR,
|
|
|
|
GimpInterpolationType interpolation,
|
|
|
|
GimpProgressFunc progress_callback,
|
|
|
|
gpointer progress_data);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void subsample_region (PixelRegion *srcPR,
|
|
|
|
PixelRegion *destPR,
|
|
|
|
gint subsample);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-06-13 18:52:42 +08:00
|
|
|
gfloat shapeburst_region (PixelRegion *srcPR,
|
|
|
|
PixelRegion *distPR,
|
|
|
|
GimpProgressFunc progress_callback,
|
|
|
|
gpointer progress_data);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void thin_region (PixelRegion *src,
|
|
|
|
gint16 xradius,
|
|
|
|
gint16 yradius,
|
|
|
|
gboolean edge_lock);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void fatten_region (PixelRegion *src,
|
|
|
|
gint16 xradius,
|
|
|
|
gint16 yradius);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void swap_region (PixelRegion *src,
|
|
|
|
PixelRegion *dest);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* Apply a mask to an image's alpha channel */
|
2004-04-15 20:38:54 +08:00
|
|
|
void apply_mask_to_region (PixelRegion *src,
|
|
|
|
PixelRegion *mask,
|
|
|
|
guint opacity);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* Combine a mask with an image's alpha channel */
|
2004-04-15 20:38:54 +08:00
|
|
|
void combine_mask_and_region (PixelRegion *src,
|
|
|
|
PixelRegion *mask,
|
2004-06-06 00:21:41 +08:00
|
|
|
guint opacity,
|
|
|
|
gboolean stipple);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
/* Copy a gray image to an intensity-alpha region */
|
2004-04-15 20:38:54 +08:00
|
|
|
void copy_gray_to_region (PixelRegion *src,
|
|
|
|
PixelRegion *dest);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2003-03-12 07:54:49 +08:00
|
|
|
/* Copy a component (indexed by pixel) to a 1-byte region */
|
|
|
|
void copy_component (PixelRegion *src,
|
|
|
|
PixelRegion *dest,
|
|
|
|
guint pixel);
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-04-15 20:38:54 +08:00
|
|
|
void initial_region (PixelRegion *src,
|
|
|
|
PixelRegion *dest,
|
|
|
|
PixelRegion *mask,
|
|
|
|
guchar *data,
|
|
|
|
guint opacity,
|
|
|
|
GimpLayerModeEffects mode,
|
|
|
|
const gboolean *affect,
|
|
|
|
InitialMode type);
|
|
|
|
|
|
|
|
void combine_regions (PixelRegion *src1,
|
|
|
|
PixelRegion *src2,
|
|
|
|
PixelRegion *dest,
|
|
|
|
PixelRegion *mask,
|
|
|
|
guchar *data,
|
|
|
|
guint opacity,
|
|
|
|
GimpLayerModeEffects mode,
|
|
|
|
const gboolean *affect,
|
|
|
|
CombinationMode type);
|
|
|
|
|
|
|
|
void combine_regions_replace (PixelRegion *src1,
|
|
|
|
PixelRegion *src2,
|
|
|
|
PixelRegion *dest,
|
|
|
|
PixelRegion *mask,
|
|
|
|
guchar *data,
|
|
|
|
guint opacity,
|
|
|
|
const gboolean *affect,
|
|
|
|
CombinationMode type);
|
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
#endif /* __PAINT_FUNCS_H__ */
|