Lines Matching refs:shape
173 function applyMxCellStyle(state, shape, xmlDoc) argument
179 shape.appendChild(createCellElem("FillPattern", 0, xmlDoc));
183 shape.appendChild(createCellElem("FillForegnd", fillClr, xmlDoc));
188 shape.appendChild(createCellElem("FillBkgnd", gradClr, xmlDoc));
208 shape.appendChild(createCellElem("FillPattern", dir, xmlDoc));
215 shape.appendChild(createCellElem("LinePattern", 0, xmlDoc));
217 shape.appendChild(createCellElem("LineColor", strokeClr, xmlDoc));
220 if (strokeW) shape.appendChild(createCellElemScaled("LineWeight", strokeW, xmlDoc));
238 …if (fillOpaq) shape.appendChild(createCellElem("FillForegndTrans", 1 - parseInt(fillOpaq)/100.0, x…
239 …if (strkOpaq) shape.appendChild(createCellElem("LineColorTrans", 1 - parseInt(strkOpaq)/100.0, xml…
265 shape.appendChild(createCellElem("LinePattern", pattern, xmlDoc));
272 shape.appendChild(createCellElem("ShdwPattern", 1, xmlDoc));
273 shape.appendChild(createCellElem("ShdwForegnd", '#000000', xmlDoc));
274 shape.appendChild(createCellElem("ShdwForegndTrans", 0.6, xmlDoc));
275 shape.appendChild(createCellElem("ShapeShdwType", 1, xmlDoc));
276 shape.appendChild(createCellElem("ShapeShdwOffsetX", '0.02946278254943948', xmlDoc));
277 shape.appendChild(createCellElem("ShapeShdwOffsetY", '-0.02946278254943948', xmlDoc));
278 shape.appendChild(createCellElem("ShapeShdwScaleFactor", '1', xmlDoc));
279 shape.appendChild(createCellElem("ShapeShdwBlur", '0.05555555555555555', xmlDoc));
280 shape.appendChild(createCellElem("ShapeShdwShow", 2, xmlDoc));
323 if (flibX == 1) shape.appendChild(createCellElem("FlipX", 1, xmlDoc));
326 if (flibY == 1) shape.appendChild(createCellElem("FlipY", 1, xmlDoc));
329 …if (rounded == 1) shape.appendChild(createCellElemScaled("Rounding", state.cell.geometry.width*0.1…
334 if (lbkgnd) shape.appendChild(createCellElem("TextBkgnd", lbkgnd, xmlDoc));
339 var shape = createElt(xmlDoc, that.XMLNS, "Shape");
341 shape.setAttribute("ID", id);
342 shape.setAttribute("NameU", "Shape" + id);
343 shape.setAttribute("LineStyle", "0");
344 shape.setAttribute("FillStyle", "0");
345 shape.setAttribute("TextStyle", "0");
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));
353 shape.appendChild(createCellElemScaled("LocPinX", hw, xmlDoc));
354 shape.appendChild(createCellElemScaled("LocPinY", hh, xmlDoc));
355 shape.appendChild(createCellElem("LayerMember", layerIndex + "", xmlDoc));
357 return shape;
401 var shape = createElt(xmlDoc, that.XMLNS, "Shape");
403 shape.setAttribute("ID", vsdxId);
404 shape.setAttribute("NameU", "Dynamic connector." + vsdxId);
405 shape.setAttribute("Name", "Dynamic connector." + vsdxId);
406 shape.setAttribute("Type", "Shape");
407 shape.setAttribute("Master", "4"); //Dynamic Connector Master
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));
419 shape.appendChild(createCellElemScaled("LocPinX", hw, xmlDoc));
420 shape.appendChild(createCellElemScaled("LocPinY", hh, xmlDoc));
422 vsdxCanvas.newEdge(shape, state, xmlDoc);
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(…
445 …shape.appendChild(createCellElem("BegTrigger", "2", xmlDoc, cell.source? "_XFTRIGGER(Sheet."+ getC…
446 …shape.appendChild(createCellElem("EndTrigger", "2", xmlDoc, cell.target? "_XFTRIGGER(Sheet."+ getC…
447 shape.appendChild(createCellElem("ConFixedCode", "6", xmlDoc));
448 shape.appendChild(createCellElem("LayerMember", layerIndex + "", xmlDoc));
450 applyMxCellStyle(state, shape, xmlDoc);
458 shape.appendChild(createCellElem("BeginArrow", type, xmlDoc));
459 shape.appendChild(createCellElem("BeginArrowSize", getArrowSize(startSize), xmlDoc));
466 shape.appendChild(createCellElem("EndArrow", type, xmlDoc));
467 shape.appendChild(createCellElem("EndArrowSize", getArrowSize(endSize), xmlDoc));
490 shape.appendChild(geoSec);
492 return shape;
524 var shape = createShape(vsdxId + "10000", geo, layerIndex, xmlDoc, parentHeight, isChild);
525 shape.setAttribute("Type", "Group");
563 shape.appendChild(gShapes);
568 return shape;
573 var shape = createShape(vsdxId, geo, layerIndex, xmlDoc, parentHeight, isChild);
577 applyMxCellStyle(state, shape, xmlDoc);
579 vsdxCanvas.newShape(shape, state, xmlDoc);
588 if (state.shape != null && state.shape.checkBounds())
591 state.shape.paint(vsdxCanvas);
595 shape.appendChild(vsdxCanvas.getShapeGeo());
598 shape.setAttribute("Type", vsdxCanvas.getShapeType());
600 return shape;
666 var shape = convertMxCell2Shape(cell, layerIndex, graph, xmlDoc, modelAttrib.pageHeight);
668 if (shape != null)
669 shapes.appendChild(shape);