summaryrefslogtreecommitdiffstats
path: root/src/gradient-chemistry.h
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-10-07 06:00:44 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-10-07 06:00:44 +0000
commitbc05a992b63ef69a954e26b16a88d981e4283461 (patch)
treeb69a560f12d9cbe7ac7beaa943234cda25cb48b8 /src/gradient-chemistry.h
parentExposed preference for smaller tool icons on the left. (Needed for (diff)
downloadinkscape-bc05a992b63ef69a954e26b16a88d981e4283461.tar.gz
inkscape-bc05a992b63ef69a954e26b16a88d981e4283461.zip
export average_color
(bzr r3847)
Diffstat (limited to 'src/gradient-chemistry.h')
-rw-r--r--src/gradient-chemistry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gradient-chemistry.h b/src/gradient-chemistry.h
index af7315b4c..13e15e5b8 100644
--- a/src/gradient-chemistry.h
+++ b/src/gradient-chemistry.h
@@ -62,6 +62,8 @@ SPStop* sp_get_stop_i(SPGradient *gradient, guint i);
guint sp_number_of_stops(SPGradient *gradient);
guint sp_number_of_stops_before_stop(SPGradient *gradient, SPStop *target);
+guint32 average_color (guint32 c1, guint32 c2, gdouble p = 0.5);
+
SPStop *sp_vector_add_stop (SPGradient *vector, SPStop* prev_stop, SPStop* next_stop, gfloat offset);
void sp_gradient_transform_multiply (SPGradient *gradient, NR::Matrix postmul, bool set);