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

unsigned sp_item_display_key_new ( unsigned  numkeys )

Allocates unique integer keys.

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

Referenced by SPDesktop::init(), sp_flood_do_flood_fill(), and sp_marker_menu_build().

    static unsigned dkey = 0;

    dkey += numkeys;

    return dkey - numkeys;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index