[gimp/goat-invasion: 84/526] app: remove shade_region()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 84/526] app: remove shade_region()
- Date: Sun, 22 Apr 2012 13:06:20 +0000 (UTC)
commit 61dbeb95be9775ae49055ac837c64d221209b05f
Author: Michael Natterer <mitch gimp org>
Date: Fri Mar 16 18:56:12 2012 +0100
app: remove shade_region()
app/paint-funcs/paint-funcs.c | 20 --------------------
app/paint-funcs/paint-funcs.h | 5 -----
2 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/app/paint-funcs/paint-funcs.c b/app/paint-funcs/paint-funcs.c
index 1657198..eed7bdf 100644
--- a/app/paint-funcs/paint-funcs.c
+++ b/app/paint-funcs/paint-funcs.c
@@ -1865,26 +1865,6 @@ blend_region (PixelRegion *src1,
void
-shade_region (PixelRegion *src,
- PixelRegion *dest,
- guchar *color,
- guchar blend)
-{
- const guchar *s = src->data;
- guchar *d = dest->data;
- gint h = src->h;
-
- while (h --)
- {
- blend_pixels (s, d, color, blend, src->w, src->bytes);
-
- s += src->rowstride;
- d += dest->rowstride;
- }
-}
-
-
-void
copy_region (PixelRegion *src,
PixelRegion *dest)
{
diff --git a/app/paint-funcs/paint-funcs.h b/app/paint-funcs/paint-funcs.h
index a365ffb..dc602b1 100644
--- a/app/paint-funcs/paint-funcs.h
+++ b/app/paint-funcs/paint-funcs.h
@@ -338,11 +338,6 @@ void blend_region (PixelRegion *src1,
PixelRegion *dest,
guchar blend);
-void shade_region (PixelRegion *src,
- PixelRegion *dest,
- guchar *color,
- guchar blend);
-
void copy_region (PixelRegion *src,
PixelRegion *dest);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]