Lines Matching refs:rc
58 static void sp_gradient_drag(GradientTool &rc, Geom::Point const pt, guint state, guint32 etime);
102 GradientTool *rc = (GradientTool *) this;
104 GrDrag *drag = rc->_grdrag;
125 rc->message_context->setF(Inkscape::NORMAL_MESSAGE,
134 rc->message_context->setF(Inkscape::NORMAL_MESSAGE,message,drag->singleSelectedDraggerNumDraggables(), n_tot, n_obj);
141 rc->message_context->setF(Inkscape::NORMAL_MESSAGE,message, n_sel, n_tot, n_obj);
143 rc->message_context->setF(Inkscape::NORMAL_MESSAGE,
199 sp_gradient_context_is_over_line (GradientTool *rc, SPItem *item, Geom::Point event_p)
201 SPDesktop *desktop = SP_EVENT_CONTEXT (rc)->desktop;
204 rc->mousepoint_doc = desktop->w2d(event_p);
210 Geom::Point nearest = ls.pointAt(ls.nearestTime(rc->mousepoint_doc));
211 double dist_screen = Geom::L2 (rc->mousepoint_doc - nearest) * desktop->current_zoom();
213 double tolerance = (double) SP_EVENT_CONTEXT(rc)->tolerance;
306 sp_gradient_context_add_stops_between_selected_stops (GradientTool *rc)
309 GrDrag *drag = rc->_grdrag;
380 sp_gradient_simplify(GradientTool *rc, double tolerance)
383 GrDrag *drag = rc->_grdrag;
446 sp_gradient_context_add_stop_near_point (GradientTool *rc, SPItem *item, Geom::Point mouse_p, guint32 /*etime*/)
450 ToolBase *ec = SP_EVENT_CONTEXT(rc);
451 SPDesktop *desktop = SP_EVENT_CONTEXT (rc)->desktop;
881 static void sp_gradient_drag(GradientTool &rc, Geom::Point const pt, guint /*state*/, guint32 etime)
883 SPDesktop *desktop = SP_EVENT_CONTEXT(&rc)->desktop;
886 ToolBase *ec = SP_EVENT_CONTEXT(&rc);
919 sp_item_gradient_set_coords (*i, POINT_LG_BEGIN, 0, rc.origin, fill_or_stroke, true, false);
922 sp_item_gradient_set_coords (*i, POINT_RG_CENTER, 0, rc.origin, fill_or_stroke, true, false);
944 rc.message_context->setF(Inkscape::NORMAL_MESSAGE,