Lines Matching refs:paper

36 	var paper = Raphael(el,0,0);
37 paper.setViewBox(0,0,400,300,true);
38 paper.setSize('100%', '100%');
43 …drawError({'paper': paper, msg: "No height property found at rack index: " + rack['options']['inde…
69 …var raph_rack = paper.rect(6,6, rack_width[1] * 2.54 * drawing_wscale, rack_height[1] * 4.445 * dr…
92 drawEquipment(paper, raph_rack, item);
95 …drawError({'paper': paper, 'msg': 'Sum of servers and cages height is more than rack ' + rack['opt…
100 function drawEquipment(paper, rack, equipment) { argument
107 var server = paper.set();
108 …var server_block = paper.rect(boundaries.x, boundaries.y + ((equipment['index']-1) * 4.445 * drawi…
128 …var text = paper.text(boundaries.width/2+6, boundaries.y + boundaries.height/2, equipment['label']…
136 var cage = paper.set();
137 …var cage_block = paper.rect(boundaries.x, boundaries.y + ((equipment['index']-1) * 4.445 * drawing…
147 …var text = paper.text(boundaries.width/2+6, boundaries.y + boundaries.height/2, equipment['label']…
159 …drawError({'paper': paper, 'msg': 'Height not defined in one of cage ' + equipment['index'] + ' de…
162 var raph_deck = paper.set();
165 …deck_block = paper.roundedRectangle(boundaries.x, boundaries.y + previous_deck_height, boundaries.…
169 …deck_block = paper.roundedRectangle(boundaries.x, boundaries.y + previous_deck_height, boundaries.…
173 …deck_block = paper.roundedRectangle(boundaries.x, boundaries.y + previous_deck_height, boundaries.…
188 …var text = paper.text(boundaries.width/2+6, boundaries.y + boundaries.height/2, deck['label']).att…
198 …drawDeckModules(paper, boundaries, corner, previous_deck_height, deck_height, deck['blocks'], deck…
201 …drawDeckModules(paper, boundaries, corner, previous_deck_height, deck_height, deck['blades'], deck…
203 …drawError({'paper': paper, 'msg': 'Invalid equipment type! Decks can have type \'block\' or \'blad…
220 var panel = paper.set();
221 …var filler = paper.rect(boundaries.x, boundaries.y + ((equipment['index']-1) * 4.445 * drawing_hsc…
223 …var text1 = paper.text(boundaries.x + boundaries.width - 6, boundaries.y + equipment_height/2, equ…
224 …var text2 = paper.text(boundaries.x + 2, boundaries.y + boundaries.height/2, 'filler panel').attr(…
228 …drawError({'paper': paper, 'msg': 'Invalid equipment type! This is a possible bug in the ADVRack p…
231 drawError({'paper': paper, 'msg': 'No equipment type specified!'});
292 function drawDeckModules(paper, rack_boundaries, corner, previous_deck_height, deck_height, modules… argument
299 …module = paper.roundedRectangle(rack_boundaries.x + previous_module_width, rack_boundaries.y + pre…
301paper.roundedRectangle(rack_boundaries.x + previous_module_width, rack_boundaries.y + previous_dec…
303 …module = paper.rect(rack_boundaries.x + previous_module_width, rack_boundaries.y + previous_deck_h…
305paper.roundedRectangle(rack_boundaries.x + previous_module_width, rack_boundaries.y + previous_dec…
307 …module = paper.roundedRectangle(rack_boundaries.x + previous_module_width, rack_boundaries.y + pre…
309paper.roundedRectangle(rack_boundaries.x + previous_module_width, rack_boundaries.y + previous_dec…
331 …var text = paper.text(boundaries.x + boundaries.width/2, boundaries.y + boundaries.height/2, modul…
345 var paper = error.paper;
346 paper.clear();
348 paper.text(10,10, 'ERROR: ' + msg).attr('text-anchor', 'start');