[dia] [warningectomy] unused function 'color_to_abgr'



commit f19cdbdc10ce24b634ad49dd9dc6ea890ce3eec6
Author: Hans Breuer <hans breuer org>
Date:   Fri Oct 3 22:34:35 2014 +0200

    [warningectomy] unused function 'color_to_abgr'
    
    just removed

 plug-ins/libart/dialibartrenderer.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/plug-ins/libart/dialibartrenderer.c b/plug-ins/libart/dialibartrenderer.c
index eec7ee3..b4c9348 100644
--- a/plug-ins/libart/dialibartrenderer.c
+++ b/plug-ins/libart/dialibartrenderer.c
@@ -61,19 +61,6 @@
 #include <libart_lgpl/art_svp_intersect.h>
 
 static inline guint32 
-color_to_abgr(Color *col)
-{
-  int rgba;
-
-  rgba = (guint)(0xFF*col->alpha) << 24;
-  rgba |= (guint)(0xFF*col->blue) << 16;
-  rgba |= (guint)(0xFF*col->green) << 8;
-  rgba |= (guint)(0xFF*col->red);
-  
-  return rgba;
-}
-
-static inline guint32 
 color_to_rgba(DiaLibartRenderer *renderer, Color *col)
 {
   int rgba;


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