app: remove shade_region()

This commit is contained in:
Michael Natterer
2012-03-16 18:56:12 +01:00
parent 299886d20d
commit 07ba5b37a0
2 changed files with 0 additions and 25 deletions

View File

@ -1864,26 +1864,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)

View File

@ -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);