mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
49bb407674
2007-08-08 Sven Neumann <sven@gimp.org> * app/paint-funcs/Makefile.am * app/paint-funcs/sample-funcs.[ch]: renamed to * app/paint-funcs/subsample-region.[ch] * app/paint-funcs/scale-funcs.[ch]: renamed to * app/paint-funcs/scale-region.[ch] * app/paint-funcs/reduce-region.[ch]: new files based on a patch from Geert Jordaens (bug #464466). * app/base/tile-manager-preview.c * app/core/gimp-transform-region.c * app/core/gimpbrush-scale.c * app/core/gimpdrawable-preview.c * app/core/gimpdrawable.c: changed accordingly. svn path=/trunk/; revision=23144
34 lines
1.3 KiB
C
34 lines
1.3 KiB
C
/* GIMP - The GNU 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
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __SUBSAMPLE_REGION_H__
|
|
#define __SUBSAMPLE_REGION_H__
|
|
|
|
|
|
void subsample_region (PixelRegion *srcPR,
|
|
PixelRegion *destPR,
|
|
gint subsample);
|
|
|
|
void subsample_indexed_region (PixelRegion *srcPR,
|
|
PixelRegion *destPR,
|
|
const guchar *cmap,
|
|
gint subsample);
|
|
|
|
|
|
#endif /* __SUBSAMPLE_REGION_H__ */
|