diff --git a/src/gradient-drag.h b/src/gradient-drag.h
index a4cd481a3be9282cebf7f165e53da791fe47f5d8..06859c24bb0e5fba115739e6679348f8006b9fc1 100644 (file)
--- a/src/gradient-drag.h
+++ b/src/gradient-drag.h
bool mayMerge (GrDragger *other);
bool mayMerge (GrDraggable *da2);
- bool isA (gint point_type);
- bool isA (SPItem *item, gint point_type, gint point_i, bool fill_or_stroke);
+ bool isA (gint point_type);
+ bool isA (SPItem *item, gint point_type, bool fill_or_stroke);
+ bool isA (SPItem *item, gint point_type, gint point_i, bool fill_or_stroke);
void fireDraggables (bool write_repr, bool scale_radial = false, bool merging_focus = false);
};
void selectAll();
void selectByCoords(std::vector<NR::Point> coords);
void selectRect(NR::Rect const &r);
+
+ bool dropColor(SPItem *item, gchar *c, NR::Point p);
+
+ SPStop *addStopNearPoint (SPItem *item, NR::Point mouse_p, double tolerance);
void deleteSelected (bool just_one = false);
+
+ bool copy ();
bool keep_selection;
GrDragger *getDraggerFor (SPItem *item, gint point_type, gint point_i, bool fill_or_stroke);
+ void grabKnot (GrDragger *dragger, gint x, gint y, guint32 etime);
void grabKnot (SPItem *item, gint point_type, gint point_i, bool fill_or_stroke, gint x, gint y, guint32 etime);
bool local_change;
private:
void deselect_all();
- void addLine (NR::Point p1, NR::Point p2, guint32 rgba);
+ void addLine (SPItem *item, NR::Point p1, NR::Point p2, guint32 rgba);
void addDragger (GrDraggable *draggable);