作図ソフト dia の改良版
Révision | f19cdbdc10ce24b634ad49dd9dc6ea890ce3eec6 (tree) |
---|---|
l'heure | 2014-10-04 18:43:26 |
Auteur | Hans Breuer <hans@breu...> |
Commiter | Hans Breuer |
[warningectomy] unused function 'color_to_abgr'
just removed
@@ -61,19 +61,6 @@ | ||
61 | 61 | #include <libart_lgpl/art_svp_intersect.h> |
62 | 62 | |
63 | 63 | static inline guint32 |
64 | -color_to_abgr(Color *col) | |
65 | -{ | |
66 | - int rgba; | |
67 | - | |
68 | - rgba = (guint)(0xFF*col->alpha) << 24; | |
69 | - rgba |= (guint)(0xFF*col->blue) << 16; | |
70 | - rgba |= (guint)(0xFF*col->green) << 8; | |
71 | - rgba |= (guint)(0xFF*col->red); | |
72 | - | |
73 | - return rgba; | |
74 | -} | |
75 | - | |
76 | -static inline guint32 | |
77 | 64 | color_to_rgba(DiaLibartRenderer *renderer, Color *col) |
78 | 65 | { |
79 | 66 | int rgba; |