From 12796f2d917f1354a5388c9c4decc488e176eb1f Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Tue, 12 Feb 2002 11:32:56 +0000 Subject: [PATCH] scale_region_no_resample() no longer needs to be public, as we can call 2002-02-12 Michael Natterer * app/paint-funcs/paint-funcs.[ch]: scale_region_no_resample() no longer needs to be public, as we can call scale_region(src, dest, GIMP_INTERPOLATION_NONE). --- ChangeLog | 6 ++++++ app/paint-funcs/paint-funcs.c | 2 +- app/paint-funcs/paint-funcs.h | 14 ++++++-------- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 58bad277d7..4ed19c99c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-02-12 Michael Natterer + + * app/paint-funcs/paint-funcs.[ch]: scale_region_no_resample() no + longer needs to be public, as we can call + scale_region(src, dest, GIMP_INTERPOLATION_NONE). + 2002-02-12 Nathan Summers * app/plug-in/plug-in-rc.c: implement a new pluginrc flag, diff --git a/app/paint-funcs/paint-funcs.c b/app/paint-funcs/paint-funcs.c index 83c2adf952..2903f171da 100644 --- a/app/paint-funcs/paint-funcs.c +++ b/app/paint-funcs/paint-funcs.c @@ -2669,7 +2669,7 @@ gaussian_blur_region (PixelRegion *srcR, /* non-interpolating scale_region. [adam] */ -void +static void scale_region_no_resample (PixelRegion *srcPR, PixelRegion *destPR) { diff --git a/app/paint-funcs/paint-funcs.h b/app/paint-funcs/paint-funcs.h index 29f758182d..939e173090 100644 --- a/app/paint-funcs/paint-funcs.h +++ b/app/paint-funcs/paint-funcs.h @@ -254,7 +254,7 @@ void extract_from_inten_pixels (guchar *src, /* extract information from indexed pixels based on * a mask. */ -void extract_from_indexed_pixels (guchar *src, +void extract_from_indexed_pixels (guchar *src, guchar *dest, const guchar *mask, const guchar *cmap, @@ -270,7 +270,7 @@ void extract_from_indexed_pixels (guchar *src, * src_type == 1 (GRAY) * src_type == 2 (INDEXED) */ -void map_to_color (guint src_type, +void map_to_color (guint src_type, const guchar *cmap, const guchar *src, guchar *rgb); @@ -317,18 +317,16 @@ void border_region (PixelRegion *, gint16, gint16); void scale_region (PixelRegion *, PixelRegion *, GimpInterpolationType); -void scale_region_no_resample (PixelRegion *, PixelRegion *); - void subsample_region (PixelRegion *, PixelRegion *, int); float shapeburst_region (PixelRegion *, PixelRegion *); -void thin_region (PixelRegion *, gint16 xradius, - gint16 yradius, int edge_lock); +void thin_region (PixelRegion *, gint16 xradius, + gint16 yradius, int edge_lock); -void fatten_region (PixelRegion *, - gint16 xradius, gint16 yradius); +void fatten_region (PixelRegion *, + gint16 xradius, gint16 yradius); void swap_region (PixelRegion *, PixelRegion *);