Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

void Inkscape::Selection::add ( SPObject obj,
bool  persist_selection_context = false 
)

Add an SPObject to the set of selected objects.

Parameters:
objthe SPObject to add

Definition at line 152 of file selection.cpp.

References _add(), _emitChanged(), and includes().

Referenced by do_trace(), Inkscape::Extension::Internal::BlurEdge::effect(), pen_handle_button_release(), set(), toggle(), and Inkscape::Trace::Tracer::traceThread().

                                                                              {
    g_return_if_fail(obj != NULL);
    g_return_if_fail(SP_IS_OBJECT(obj));

    if (includes(obj)) {
        return;
    }

    _invalidateCachedLists();
    _add(obj);
    _emitChanged(persist_selection_context);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index