Searched refs:new_id (Results 1 - 4 of 4) sorted by relevance

/inkscape/share/extensions/
H A Dmarkers_strokepaint.py140 new_id = self.uniqueId(marker_id, not self.options.modify)
142 style[mprop] = "url(#%s)" % new_id
143 mnode.set('id', new_id)
144 mnode.set(inkex.addNS('stockid','inkscape'), new_id)
H A Dinkex.py288 new_id = old_id
290 while new_id in self.doc_ids:
291 new_id += random.choice('0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ')
292 self.doc_ids[new_id] = 1
293 return new_id
/inkscape/src/
H A Did-clash.cpp227 std::string new_id(old_id + '-');
229 new_id += "0123456789"[std::rand() % 10];
230 const char *str = new_id.c_str();
236 elem->getRepr()->setAttribute("id", new_id);
H A Dsp-object.cpp875 gchar const *new_id = value; local
877 if (new_id) {
878 conflict = document->getObjectById((char const *)new_id);
890 new_id = NULL;
899 if (new_id) {
900 SPObjectImpl::setId(object, new_id);

Completed in 35 milliseconds