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

NRArenaItem* sp_item_get_arenaitem ( SPItem item,
unsigned  key 
)

Return the arenaitem corresponding to the given item in the display with the given key

Definition at line 1645 of file sp-item.cpp.

Referenced by find_group_at_point(), find_item_at_point(), Inkscape::Trace::Tracer::sioxProcessImage(), and sp_document_item_from_list_at_point_bottom().

{
    for ( SPItemView *iv = item->display ; iv ; iv = iv->next ) {
        if ( iv->key == key ) {
            return iv->arenaitem;
        }
    }

    return NULL;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index