[librsvg] remove unused rsvg_filter_adobe_blend function.



commit d79fc0f43bbc9753a8bbb0ea97336237acbfbc46
Author: Hiroyuki Ikezoe <poincare ikezoe net>
Date:   Thu Apr 1 18:42:24 2010 +0900

    remove unused rsvg_filter_adobe_blend function.
    
    Fix for bug #614555.

 rsvg-filter.c |   50 --------------------------------------------------
 rsvg-filter.h |    3 ---
 2 files changed, 0 insertions(+), 53 deletions(-)
---
diff --git a/rsvg-filter.c b/rsvg-filter.c
index 705f14c..c2928dc 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 280f6a9..49d54c6 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]