Lines Matching full:attributes
66 if (el && el.attributes && el.attributes.y && el.attributes._orig_x) {
68 params.x = el.attributes._orig_x.value;
69 params.y = el.attributes.y.value;
137 if (e.attributes["_orig_" + attr] != undefined) return;
138 if (e.attributes[attr] == undefined) return;
139 if (val == undefined) val = e.attributes[attr].value;
143 if (e.attributes["_orig_"+attr] == undefined) return;
144 e.attributes[attr].value = e.attributes["_orig_" + attr].value;
160 var w = parseFloat(r.attributes.width.value) -3;
162 t.attributes.x.value = parseFloat(r.attributes.x.value) + 3;
190 if (e.attributes != undefined) {
200 if (e.attributes != undefined) {
201 if (e.attributes.x != undefined) {
203 e.attributes.x.value = (parseFloat(e.attributes.x.value) - x - 10) * ratio + 10;
205 e.attributes.x.value = find_child(e.parentNode, "rect[x]").attributes.x.value + 3;
207 if (e.attributes.width != undefined) {
209 e.attributes.width.value = parseFloat(e.attributes.width.value) * ratio;
219 if (e.attributes) {
220 if (e.attributes.x != undefined) {
222 e.attributes.x.value = 10;
224 if (e.attributes.width != undefined) {
226 e.attributes.width.value = parseInt(svg.width.baseVal.value) - (10 * 2);
235 var attr = find_child(node, "rect").attributes;
250 var a = find_child(e, "rect").attributes;
358 var w = parseFloat(rect.attributes.width.value);
364 var x = parseFloat(rect.attributes.x.value);
366 rect.attributes.fill.value = "rgb(230,0,230)";