Searched defs:menu_shifts (Results 1 - 1 of 1) sorted by relevance

/inkscape/share/filters/
H A Dsamplify.py70 menu_shifts = {} variable
72 menu_shifts[m] = 0
130 clone.attrib["transform"] = 'translate('+str( q['width'] * menu_shifts[menu] )+', '+str( q['height'] * (menus.index(menu) + 1) )+')'
134 text.attrib['x']=str( q['x'] + q['width'] * (menu_shifts[menu] + 0.5) )
145 text.attrib['x']=str( q['x'] + q['width'] * (menu_shifts[menu] + 0.5) )
151 menu_shifts[menu] = menu_shifts[menu] + 1
154 total_width = max(menu_shifts.values()) * q['width']

Completed in 14 milliseconds