Logo Search packages:      
Sourcecode: inkscape version File versions

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 1191 of file sp-item.cpp.

References SPItem::display.

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

    return NULL;
}


Generated by  Doxygen 1.6.0   Back to index