Lines Matching refs:geo
337 function createShape(id, geo, layerIndex, xmlDoc, parentHeight, isChild) argument
347 var hw = geo.width/2, hh = geo.height/2;
349 …shape.appendChild(createCellElemScaled("PinX", geo.x + hw + (isChild? 0 : vsdxCanvas.shiftX), xmlD…
350 …shape.appendChild(createCellElemScaled("PinY", parentHeight - geo.y - hh - (isChild? 0 : vsdxCanva…
351 shape.appendChild(createCellElemScaled("Width", geo.width, xmlDoc));
352 shape.appendChild(createCellElemScaled("Height", geo.height, xmlDoc));
497 var geo = cell.geometry, origGeo = geo;
499 if (geo != null)
504 if (geo.relative && parentGeo)
506 origGeo = geo.clone();
507 geo.x *= parentGeo.width;
508 geo.y *= parentGeo.height;
510 if (cell.vertex && geo.offset != null)
512 geo.x += geo.offset.x;
513 geo.y += geo.offset.y;
516 geo.relative = 0;
524 var shape = createShape(vsdxId + "10000", geo, layerIndex, xmlDoc, parentHeight, isChild);
532 vsdxCanvas.translate(-geo.x, -geo.y);
536 var newGeo = geo.clone();
541 var subShape = convertMxCell2Shape(cell, layerIndex, graph, xmlDoc, geo.height, geo, true);
543 cell.setGeometry(geo);
555 var subShape = convertMxCell2Shape(child, layerIndex, graph, xmlDoc, geo.height, geo, true);
573 var shape = createShape(vsdxId, geo, layerIndex, xmlDoc, parentHeight, isChild);