Lines Matching refs:bounds

105 			var bounds = graph.getGraphBounds().clone();
109 var x0 = Math.round(bounds.x / sc) - tr.x;
110 var y0 = Math.round(bounds.y / sc) - tr.y;
118 x0 += Math.ceil((tr.x - bounds.x / sc) / availableWidth) * availableWidth;
123 y0 += Math.ceil((tr.y - bounds.y / sc) / availableHeight) * availableHeight;
126 var hpages = Math.max(1, Math.ceil((bounds.width / sc + x0) / availableWidth));
127 var vpages = Math.max(1, Math.ceil((bounds.height / sc + y0) / availableHeight));
411 var bounds = state.cellBounds;
413 var hw = bounds.width/2, hh = bounds.height/2;
415 …shape.appendChild(createCellElemScaled("PinX", bounds.x + hw + (isChild? 0 : vsdxCanvas.shiftX), x…
416 …shape.appendChild(createCellElemScaled("PinY", parentHeight - bounds.y - hh - (isChild? 0 : vsdxCa…
417 shape.appendChild(createCellElemScaled("Width", bounds.width, xmlDoc));
418 shape.appendChild(createCellElemScaled("Height", bounds.height, xmlDoc));
427 x = x * s.scale - bounds.x + s.dx + (withoutShift || isChild? 0 : vsdxCanvas.shiftX);
428 …y = (noHeight? 0 : bounds.height) - y * s.scale + bounds.y - s.dy - (withoutShift || isChild? 0 : …
435 …shape.appendChild(createCellElemScaled("BeginX", bounds.x + p0.x, xmlDoc, "_WALKGLUE(BegTrigger,En…
436 …shape.appendChild(createCellElemScaled("BeginY", parentHeight - bounds.y + p0.y, xmlDoc, "_WALKGLU…
441 …shape.appendChild(createCellElemScaled("EndX", bounds.x + pe.x, xmlDoc, "_WALKGLUE(EndTrigger,BegT…
442 …shape.appendChild(createCellElemScaled("EndY", parentHeight - bounds.y + pe.y, xmlDoc, "_WALKGLUE(…
635 var bounds = graph.getGraphBounds();
639 if (bounds.x / s < t.x || bounds.y / s < t.y)
641 …vsdxCanvas.shiftX = Math.ceil((t.x - bounds.x / s) / graph.pageFormat.width) * graph.pageFormat.wi…
642 …vsdxCanvas.shiftY = Math.ceil((t.y - bounds.y / s) / graph.pageFormat.height) * graph.pageFormat.h…