app: remove shade_region()
This commit is contained in:
@ -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
|
void
|
||||||
copy_region (PixelRegion *src,
|
copy_region (PixelRegion *src,
|
||||||
PixelRegion *dest)
|
PixelRegion *dest)
|
||||||
|
@ -338,11 +338,6 @@ void blend_region (PixelRegion *src1,
|
|||||||
PixelRegion *dest,
|
PixelRegion *dest,
|
||||||
guchar blend);
|
guchar blend);
|
||||||
|
|
||||||
void shade_region (PixelRegion *src,
|
|
||||||
PixelRegion *dest,
|
|
||||||
guchar *color,
|
|
||||||
guchar blend);
|
|
||||||
|
|
||||||
void copy_region (PixelRegion *src,
|
void copy_region (PixelRegion *src,
|
||||||
PixelRegion *dest);
|
PixelRegion *dest);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user