Searched defs:selection (Results 1 - 25 of 93) sorted by relevance

1234

/inkscape/src/helper/
H A Daction-context.cpp15 #include "selection.h"
27 ActionContext::ActionContext(Selection *selection) argument
28 : _selection(selection)
39 _selection = desktop->selection;
/inkscape/src/
H A Dmain-cmdlineact.cpp14 #include <selection.h>
64 Inkscape::Selection * selection = context.getSelection(); local
65 selection->add(obj, false);
H A Dgradient-drag.h151 // especially the selection must be private, fix gradient-context to remove direct access to it
180 // lists of edges of selection bboxes, to snap draggers to
218 Inkscape::Selection *selection; member in class:GrDrag
H A Dsp-switch.cpp116 void SPSwitch::_releaseItem(SPObject *obj, SPSwitch *selection) argument
118 selection->_releaseLastItem(obj);
H A Dvanishing-point.h20 #include "selection.h"
195 inline bool hasEmptySelection() { return this->selection->isEmpty(); }
212 Inkscape::Selection *selection; member in struct:Box3D::VPDrag
H A Dpath-chemistry.cpp37 #include "selection.h"
41 #include "selection-chemistry.h"
57 Inkscape::Selection *selection = desktop->getSelection(); local
60 std::vector<SPItem*> items(selection->itemList());
71 items = sp_degroup_list (items); // descend into any groups in selection
101 selection->clear();
113 selection->clear();
179 selection->set(repr);
184 desktop->getMessageStack()->flash(Inkscape::ERROR_MESSAGE, _("<b>No path(s)</b> to combine in the selection."));
193 Inkscape::Selection *selection local
291 sp_selected_path_to_curves(Inkscape::Selection *selection, SPDesktop *desktop, bool interactive) argument
331 Inkscape::Selection *selection = desktop->getSelection(); local
605 Inkscape::Selection *selection = desktop->getSelection(); local
[all...]
H A Dselection-describer.cpp2 * Inkscape::SelectionDescriber - shows messages describing selection
22 #include "selection.h"
23 #include "selection-describer.h"
97 SelectionDescriber::SelectionDescriber(Inkscape::Selection *selection, MessageStack *stack, char *when_selected, char *when_nothing) argument
103 selection->connectChanged(
106 selection->connectModified(
108 _updateMessageFromSelection(selection);
119 void SelectionDescriber::_selectionModified(Inkscape::Selection *selection, guint /*flags*/) argument
121 _updateMessageFromSelection(selection);
124 void SelectionDescriber::_updateMessageFromSelection(Inkscape::Selection *selection) { argument
[all...]
H A Dtext-chemistry.cpp30 #include "selection.h"
44 flowtext_in_selection(Inkscape::Selection *selection) argument
46 std::vector<SPItem*> items = selection->itemList();
55 text_or_flowtext_in_selection(Inkscape::Selection *selection) argument
57 std::vector<SPItem*> items = selection->itemList();
66 shape_in_selection(Inkscape::Selection *selection) argument
68 std::vector<SPItem*> items = selection->itemList();
83 Inkscape::Selection *selection = desktop->getSelection();
85 SPItem *text = text_or_flowtext_in_selection(selection);
86 SPItem *shape = shape_in_selection(selection);
191 Inkscape::Selection *selection = desktop->getSelection(); local
254 Inkscape::Selection *selection = desktop->getSelection(); local
294 Inkscape::Selection *selection = desktop->getSelection(); local
387 Inkscape::Selection *selection = desktop->getSelection(); local
472 Inkscape::Selection *selection = desktop->getSelection(); local
[all...]
/inkscape/src/live_effects/parameter/
H A Doriginalpath.cpp27 #include "selection.h"
127 Inkscape::Selection *selection = desktop->getSelection(); local
128 selection->clear();
129 selection->set(original);
/inkscape/src/extension/internal/
H A Dbluredge.cpp18 #include "selection.h"
56 Inkscape::Selection * selection = static_cast<SPDesktop *>(desktop)->selection; local
65 std::vector<SPItem*> items(selection->itemList());
66 selection->clear();
92 selection->add(new_items[i]);
93 sp_selected_path_to_curves(selection, static_cast<SPDesktop *>(desktop));
105 selection->clear();
113 selection->clear();
114 selection
[all...]
H A Dgrid.cpp25 #include "selection.h"
90 Inkscape::Selection * selection = ((SPDesktop *)document)->selection; local
93 if (selection->isEmpty()) {
99 Geom::OptRect bounds = selection->visualBounds();
/inkscape/src/ui/dialog/
H A Dobject-attributes.cpp34 #include "selection.h"
116 Inkscape::Selection *selection = SP_ACTIVE_DESKTOP->getSelection(); local
117 SPItem *item = selection->singleItem();
122 //no selection anymore or multiple objects selected, means that we need
194 if (desktop && desktop->selection) {
195 selectChangedConn = desktop->selection->connectChanged(sigc::hide(sigc::mem_fun(*this, &ObjectAttributes::widget_setup)));
199 selectModifiedConn = desktop->selection->connectModified(sigc::hide<0>(sigc::mem_fun(*this, &ObjectAttributes::selectionModifiedCB)));
H A Dextension-editor.cpp130 Glib::RefPtr<Gtk::TreeSelection> selection = _page_list.get_selection(); local
131 Gtk::TreeModel::iterator iter = selection->get_selected();
138 /* Set the selection in the preferences */
H A Dobject-properties.cpp36 #include "selection.h"
356 Inkscape::Selection *selection = SP_ACTIVE_DESKTOP->getSelection(); local
359 if (!selection->singleItem()) {
362 //no selection anymore or multiple objects selected, means that we need
370 SPItem *item = selection->singleItem();
373 //otherwise we would end up wasting resources through the modify selection
588 if (desktop && desktop->selection) {
589 _selection_changed_connection = desktop->selection->connectChanged(
/inkscape/src/widgets/
H A Dsp-xmlview-attr-list.cpp155 GtkTreeSelection *selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(list)); local
156 gtk_tree_selection_select_iter(selection, &iter);
H A Dspiral-toolbar.cpp41 #include "selection.h"
191 static void sp_spiral_toolbox_selection_changed(Inkscape::Selection *selection, GObject *tbl) argument
198 std::vector<SPItem*> itemlist=selection->itemList();
/inkscape/src/ui/tools/
H A Dfreehand-base.h50 Inkscape::Selection *selection; member in class:Inkscape::UI::Tools::FreehandBase
H A Dbox3d-tool.cpp27 #include "selection.h"
28 #include "selection-chemistry.h"
101 * Callback that processes the "changed" signal on the selection;
104 void Box3dTool::selection_changed(Inkscape::Selection* selection) { argument
106 this->shape_editor->set_item(selection->singleItem());
108 if (selection->perspList().size() == 1) {
110 this->desktop->doc()->setCurrentPersp3D(selection->perspList().front());
189 Inkscape::Selection *selection = desktop->getSelection(); local
330 selection->toggle(this->item_to_select);
332 selection
[all...]
H A Dspiral-tool.cpp29 #include "selection.h"
93 * Callback that processes the "changed" signal on the selection;
96 void SpiralTool::selection_changed(Inkscape::Selection *selection) { argument
98 this->shape_editor->set_item(selection->singleItem());
115 Inkscape::Selection *selection = this->desktop->getSelection(); local
118 this->sel_changed_connection = selection->connectChanged(sigc::mem_fun(this, &SpiralTool::selection_changed));
147 Inkscape::Selection *selection = desktop->getSelection(); local
224 selection->toggle(this->item_to_select);
226 selection->set(this->item_to_select);
230 selection
[all...]
H A Dconnector-tool.h63 Inkscape::Selection *selection; member in class:Inkscape::UI::Tools::ConnectorTool
125 void _selectionChanged(Inkscape::Selection *selection);
/inkscape/src/extension/
H A Dexecution-env.cpp23 #include "selection.h"
44 Grabs the selection of the current document so that it can get
195 Inkscape::Selection * selection = desktop->getSelection(); local
200 selection->add(obj);
/inkscape/src/extension/plugins/grid2/
H A Dgrid.cpp25 #include "selection.h"
96 Inkscape::Selection * selection = ((SPDesktop *)document)->selection; local
99 if (selection->isEmpty()) {
105 Geom::OptRect bounds = selection->visualBounds();
/inkscape/src/ui/widget/
H A Dstyle-subject.cpp15 #include "selection.h"
59 Inkscape::Selection *selection = _getSelection(); local
60 if(selection)
61 return selection->list();
66 Inkscape::Selection *selection = _getSelection(); local
67 if (selection) {
68 return selection->bounds(type);
89 Inkscape::Selection *selection = desktop->getSelection(); local
90 if (selection) {
91 _sel_changed = selection
[all...]
/inkscape/src/extension/internal/filter/
H A Dfilter.cpp11 #include "selection.h"
125 Inkscape::Selection * selection = ((SPDesktop *)document)->selection; local
128 std::vector<SPItem*> items(selection->itemList());
/inkscape/src/trace/
H A Dtrace.cpp25 #include "selection.h"
258 //g_message("siox: start selection");
303 //g_message("siox: selection done");
403 Inkscape::Selection *selection = desktop->getSelection(); local
534 selection->clear();
535 selection->add(pathRepr);
543 selection->clear();
544 selection->add(groupRepr);

Completed in 170 milliseconds

1234