summaryrefslogtreecommitdiffstats
path: root/src/gradient-chemistry.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-01-17 08:28:11 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-01-17 08:28:11 +0000
commitf330d4c03f724554e7106b1b3437f1c9699eb675 (patch)
tree6a3f6d2e6a9b7867ff85e8ff8b0db95f2b7ef0cd /src/gradient-chemistry.h
parentremove references to about.bg.svg (diff)
downloadinkscape-f330d4c03f724554e7106b1b3437f1c9699eb675.tar.gz
inkscape-f330d4c03f724554e7106b1b3437f1c9699eb675.zip
Upgraded gradient tool =)
(bzr r2228)
Diffstat (limited to 'src/gradient-chemistry.h')
-rw-r--r--src/gradient-chemistry.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gradient-chemistry.h b/src/gradient-chemistry.h
index b649a22ec..b949c68d1 100644
--- a/src/gradient-chemistry.h
+++ b/src/gradient-chemistry.h
@@ -54,18 +54,20 @@ SPStop* sp_first_stop(SPGradient *gradient);
SPStop* sp_last_stop(SPGradient *gradient);
SPStop* sp_prev_stop(SPStop *stop, SPGradient *gradient);
SPStop* sp_next_stop(SPStop *stop);
+SPStop* sp_get_stop_i(SPGradient *gradient, guint i);
void sp_gradient_transform_multiply (SPGradient *gradient, NR::Matrix postmul, bool set);
-void sp_item_gradient_set_coords (SPItem *item, guint point_num, NR::Point p_desk, bool fill_or_stroke, bool write_repr, bool scale);
-NR::Point sp_item_gradient_get_coords (SPItem *item, guint point_num, bool fill_or_stroke);
+SPGradient * sp_item_gradient (SPItem *item, bool fill_or_stroke);
+void sp_item_gradient_set_coords (SPItem *item, guint point_type, guint point_i, NR::Point p_desk, bool fill_or_stroke, bool write_repr, bool scale);
+NR::Point sp_item_gradient_get_coords (SPItem *item, guint point_type, guint point_i, bool fill_or_stroke);
SPGradient *sp_item_gradient_get_vector (SPItem *item, bool fill_or_stroke);
SPGradientSpread sp_item_gradient_get_spread (SPItem *item, bool fill_or_stroke);
struct SPCSSAttr;
-void sp_item_gradient_stop_set_style (SPItem *item, guint point_num, bool fill_or_stroke, SPCSSAttr *stop);
-guint32 sp_item_gradient_stop_query_style (SPItem *item, guint point_num, bool fill_or_stroke);
-void sp_item_gradient_edit_stop (SPItem *item, guint point_num, bool fill_or_stroke);
+void sp_item_gradient_stop_set_style (SPItem *item, guint point_type, guint point_i, bool fill_or_stroke, SPCSSAttr *stop);
+guint32 sp_item_gradient_stop_query_style (SPItem *item, guint point_type, guint point_i, bool fill_or_stroke);
+void sp_item_gradient_edit_stop (SPItem *item, guint point_type, guint point_i, bool fill_or_stroke);
void sp_item_gradient_reverse_vector (SPItem *item, bool fill_or_stroke);
#endif