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

unsigned sp_item_display_key_new ( unsigned  numkeys  ) 

Allocates unique integer keys.

numkeys Number of keys required.
First allocated key; hence if the returned key is n you can use n, n + 1, ..., n + (numkeys - 1)

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

Referenced by SPDesktop::init().

    static unsigned dkey = 0;

    dkey += numkeys;

    return dkey - numkeys;

Generated by  Doxygen 1.6.0   Back to index