X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fgradient-chemistry.h;h=b649a22ec78f76e1e265ccc0e9bf217ccb85d496;hb=040f5f6c86db72df064756211fb27ec726322afb;hp=b95c5025e57c0b1f388336ee022b8aa3bc33e90e;hpb=342e5208408aca8a6a8d57045e5f4ac37dcc68db;p=inkscape.git diff --git a/src/gradient-chemistry.h b/src/gradient-chemistry.h index b95c5025e..b649a22ec 100644 --- a/src/gradient-chemistry.h +++ b/src/gradient-chemistry.h @@ -54,19 +54,18 @@ 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_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); +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_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_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_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_reverse_vector (SPItem *item, bool fill_or_stroke); #endif