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

void Inkscape::ObjectHierarchy::_trimBelow ( SPObject limit  )  [private]

removes all objects below the limit object

Remove all objects under given object.

limit If NULL, remove all.

Definition at line 144 of file object-hierarchy.cpp.

References sp_object_ref(), and sp_object_unref().

Referenced by setBottom().

    while ( !_hierarchy.empty() && _hierarchy.front().object != limit ) {
        SPObject *object=_hierarchy.front().object;
        sp_object_ref(object, NULL);
        sp_object_unref(object, NULL);

Generated by  Doxygen 1.6.0   Back to index