summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <poincare@ikezoe.net>2010-04-01 18:42:24 +0900
committerHiroyuki Ikezoe <poincare@ikezoe.net>2010-04-06 20:58:02 +0900
commitd79fc0f43bbc9753a8bbb0ea97336237acbfbc46 (patch)
treeb9c8d7ddcf55baae8be8d862438598105016fb73
parent39685a8b40e2515d6aada78a59114b559a8531b6 (diff)
downloadlibrsvg-d79fc0f43bbc9753a8bbb0ea97336237acbfbc46.tar.gz
remove unused rsvg_filter_adobe_blend function.
Fix for bug #614555.
-rw-r--r--rsvg-filter.c50
-rw-r--r--rsvg-filter.h3
2 files changed, 0 insertions, 53 deletions
diff --git a/rsvg-filter.c b/rsvg-filter.c
index 705f14c2..c2928dca 100644
--- a/rsvg-filter.c
+++ b/rsvg-filter.c
@@ -864,56 +864,6 @@ rsvg_filter_primitive_blend_render (RsvgFilterPrimitive * self, RsvgFilterContex
g_object_unref (G_OBJECT (output));
}
-void
-rsvg_filter_adobe_blend (gint modenum, GdkPixbuf * in, GdkPixbuf * bg, GdkPixbuf * output,
- RsvgIRect boundarys, RsvgDrawingCtx * ctx)
-{
- int standardmap[4] = { 0, 1, 2, 3 };
- RsvgFilterPrimitiveBlendMode mode;
- mode = normal;
-
- switch (modenum) {
- case 0:
- mode = normal;
- break;
- case 1:
- mode = multiply;
- break;
- case 2:
- mode = screen;
- break;
- case 3:
- mode = darken;
- break;
- case 4:
- mode = lighten;
- break;
- case 5:
- mode = softlight;
- break;
- case 6:
- mode = hardlight;
- break;
- case 7:
- mode = colordodge;
- break;
- case 8:
- mode = colorburn;
- break;
- case 9:
- mode = overlay;
- break;
- case 10:
- mode = exclusion;
- break;
- case 11:
- mode = difference;
- break;
- }
-
- rsvg_filter_blend (mode, in, bg, output, boundarys, standardmap);
-}
-
static void
rsvg_filter_primitive_blend_free (RsvgNode * self)
{
diff --git a/rsvg-filter.h b/rsvg-filter.h
index 280f6a98..49d54c68 100644
--- a/rsvg-filter.h
+++ b/rsvg-filter.h
@@ -67,9 +67,6 @@ RsvgNode *rsvg_new_filter_primitive_light_source (char type);
RsvgNode *rsvg_new_filter_primitive_specular_lighting (void);
RsvgNode *rsvg_new_filter_primitive_tile (void);
-void rsvg_filter_adobe_blend (gint modenum, GdkPixbuf * in, GdkPixbuf * bg,
- GdkPixbuf * output, RsvgIRect boundarys,
- RsvgDrawingCtx * ctx);
void rsvg_alpha_blt (GdkPixbuf * src, gint srcx, gint srcy,
gint srcwidth, gint srcheight,
GdkPixbuf * dst, gint dstx, gint dsty);