Logo Search packages:      
Sourcecode: inkscape version File versions

SPObject * SPDesktop::currentLayer (  )  const

Returns current top layer.

Definition at line 408 of file desktop.cpp.

References Inkscape::ObjectHierarchy::bottom().

Referenced by Inkscape::Selection::_emitChanged(), _onSelectionChanged(), _reconstruction_start(), Inkscape::Selection::activeContext(), Inkscape::have_viable_layer(), and Inkscape::LayerVerb::perform().

{
    return _layer_hierarchy ? _layer_hierarchy->bottom() : NULL;
}


Generated by  Doxygen 1.6.0   Back to index