Logo Search packages:      
Sourcecode: inkscape version File versions

void filterConnectors ( GSList const *const   items,
list< SPItem * > &  filtered 
)

Scans the items list and places those items that are not connectors in filtered

Definition at line 86 of file graphlayout.cpp.

References isConnector().

Referenced by graphlayout().

                                                                           {
      for(GSList *i=(GSList *)items; i!=NULL; i=i->next) {
            SPItem *item=SP_ITEM(i->data);
            if(!isConnector(item)) {
                  filtered.push_back(item);
            }
      }
}


Generated by  Doxygen 1.6.0   Back to index