[gimp/goat-invasion: 84/401] app: remove shade_region()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 84/401] app: remove shade_region()
- Date: Mon, 2 Apr 2012 11:55:12 +0000 (UTC)
commit b6d248ffbb12b1f71a79195f6dc2ae201c898a99
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]