Lines Matching refs:sel
164 selection_get_center_x (Inkscape::Selection *sel){
165 Geom::OptRect box = sel->documentBounds(SPItem::GEOMETRIC_BBOX);
170 selection_get_center_y (Inkscape::Selection *sel){
171 Geom::OptRect box = sel->documentBounds(SPItem::GEOMETRIC_BBOX);
190 selection_swap(Inkscape::Selection *sel, gchar *name, GError **error)
192 std::vector<SPObject*> oldsel = sel->list();
194 sel->set(get_object_by_name(sel->layers()->getDocument(), name, error));
202 selection_restore(Inkscape::Selection *sel, std::vector<SPObject*> oldsel)
205 sel->clear();
206 sel->add(oldsel.begin(), oldsel.end());
728 Inkscape::Selection * sel = doc_interface->target.getSelection();
729 sp_selection_move (doc_interface->target.getSelection(), x - selection_get_center_x(sel),
730 0 - (y - selection_get_center_y(sel)));
1089 Inkscape::Selection * sel = doc_interface->target.getSelection();
1090 std::vector<SPObject*> oldsel = sel->list();
1250 Inkscape::Selection * sel = doc_interface->target.getSelection();
1252 Geom::OptRect sel_bbox = sel->visualBounds();
1254 Geom::Point m( x - selection_get_center_x(sel) , 0 - (y - selection_get_center_y(sel)) );
1255 sp_selection_move_relative(sel, m, true);
1295 Inkscape::Selection * sel = doc_interface->target.getSelection();
1297 if (sel)
1299 gdouble x = selection_get_center_x(sel);
1300 gdouble y = selection_get_center_y(sel);