| /plugin/sketchcanvas/script/ |
| D | SketchCanvas.js | 43 var gridSize = 8; 532 var mx = gridEnable ? Math.round(mx / gridSize) * gridSize : mx; 533 var my = gridEnable ? Math.round(my / gridSize) * gridSize : my; 558 var mx = (gridEnable ? Math.round(e.clientX / gridSize) * gridSize : e.clientX) - clrect.left; 559 var my = (gridEnable ? Math.round(e.clientY / gridSize) * gridSize : e.clientY) - clrect.top; 656 var mx = (gridEnable ? Math.round(e.clientX / gridSize) * gridSize : e.clientX) - clrect.left; 657 var my = (gridEnable ? Math.round(e.clientY / gridSize) * gridSize : e.clientY) - clrect.top; 747 var mx = (gridEnable ? Math.round(e.clientX / gridSize) * gridSize : e.clientX) - clrect.left; 748 var my = (gridEnable ? Math.round(e.clientY / gridSize) * gridSize : e.clientY) - clrect.top; 798 …return { x: Math.round(coord.x / gridSize) * gridSize, y: Math.round(coord.y / gridSize) * gridSiz… [all …]
|
| /plugin/diagramsnet/lib/shapes/mockup/ |
| D | mxMockupGraphics.js | 455 …var gridSize = mxUtils.getValue(this.style, mxShapeMockupIconGrid.prototype.cst.GRID_SIZE, '3,3').… 456 this.background(c, w, h, gridSize); 459 this.foreground(c, w, h, gridSize); 462 mxShapeMockupIconGrid.prototype.background = function(c, w, h, gridSize) argument 464 var boxSizeX = w / (parseInt(gridSize[0],10) + (gridSize[0]-1) * 0.5); 465 var boxSizeY = h / (parseInt(gridSize[1],10) + (gridSize[1]-1) * 0.5); 467 for (var i = 0; i < gridSize[0]; i++) 469 for (var j = 0; j < gridSize[1]; j++) 477 mxShapeMockupIconGrid.prototype.foreground = function(c, w, h, gridSize) argument 479 var boxSizeX = w / (parseInt(gridSize[0],10) + (gridSize[0]-1) * 0.5); [all …]
|
| D | mxMockupiOS.js | 5477 var gridSize = mxUtils.getValue(this.style, mxMockupC.GRID_SIZE, '3,3').toString().split(','); 5478 this.background(c, w, h, gridSize); 5481 this.foreground(c, w, h, gridSize); 5484 mxShapeMockupiIconGrid.prototype.background = function(c, w, h, gridSize) argument 5491 var boxSizeX = w / (parseInt(gridSize[0],10) + (gridSize[0]-1) * 0.5); 5492 var boxSizeY = h / (parseInt(gridSize[1],10) + (gridSize[1]-1) * 0.5); 5494 for (var i = 0; i < gridSize[0]; i++) 5496 for (var j = 0; j < gridSize[1]; j++) 5504 mxShapeMockupiIconGrid.prototype.foreground = function(c, w, h, gridSize) argument 5506 var boxSizeX = w / (parseInt(gridSize[0],10) + (gridSize[0]-1) * 0.5); [all …]
|
| /plugin/diagramsnet/lib/js/diagramly/ |
| D | Pages.js | 601 gridSize: parseFloat(node.getAttribute('gridSize')) || mxGraph.prototype.gridSize, class 633 node.setAttribute('gridSize', (vs != null) ? vs.gridSize : mxGraph.prototype.gridSize); 695 gridSize: this.gridSize, 732 this.gridSize = state.gridSize; 805 this.gridSize = mxGraph.prototype.gridSize;
|
| D | ElectronApp.js | 1973 size: graph.gridSize,
|
| /plugin/diagramsnet/lib/js/grapheditor/ |
| D | Editor.js | 467 this.graph.gridSize = parseFloat(node.getAttribute('gridSize')) || mxGraph.prototype.gridSize; 616 node.setAttribute('gridSize', this.graph.gridSize); 1658 var gridSize = parseInt(gridSizeInput.value); 1660 if (!isNaN(gridSize) && graph.gridSize !== gridSize) 1662 graph.setGridSize(gridSize); 2487 phase = graph.gridSize * this.scale * this.gridSteps; 2540 var tmp = this.graph.gridSize * this.scale; 2585 var phase = this.gridSize * this.view.scale * this.view.gridSteps;
|
| D | Menus.js | 460 graph.updateGroupBounds([tmp], graph.gridSize * 2, true); 489 graph.updateGroupBounds([tmp], graph.gridSize * 2, true); 511 graph.updateGroupBounds([tmp], graph.gridSize * 2, true);
|
| /plugin/diagramsnet/lib/shapes/ios7/ |
| D | mxIOS7Ui.js | 713 var gridSize = mxUtils.getValue(this.style, mxIOS7C.GRID_SIZE, '4,7').toString().split(','); 715 var boxSizeX = w / (parseInt(gridSize[0],10) + (gridSize[0]-1) * 0.1); 716 var boxSizeY = h / (parseInt(gridSize[1],10) + (gridSize[1]-1) * 0.1); 718 for (var i = 0; i < gridSize[0]; i++) 720 for (var j = 0; j < gridSize[1]; j++)
|
| /plugin/diagramsnet/lib/plugins/ |
| D | sql.js | 585 … var x = Math.ceil(Math.max(0, bds.x / view.scale - view.translate.x) + 4 * graph.gridSize); 586 … Math.ceil(Math.max(0, (bds.y + bds.height) / view.scale - view.translate.y) + 4 * graph.gridSize);
|
| /plugin/jdraw/src/com/mxgraph/examples/swing/resources/ |
| D | editor.properties.bak | 138 gridSize=Grid Size
|
| D | editor_de.properties.bak | 139 gridSize=Gittergr�sse
|
| D | editor_de.properties | 146 gridSize=Gittergr�sse key
|
| D | editor.properties | 142 gridSize=Grid Size key
|
| D | editor_zh-CN.properties | 138 gridSize=Grid Size key
|
| /plugin/diagramsnet/lib/js/ |
| D | export.js | 54 graph.gridSize = extras.grid.size; 373 var phase = graph.gridSize * view.gridSteps * view.scale;
|
| /plugin/diagramsnet/lib/resources/ |
| D | dia_i18n.txt | 371 gridSize=gridSize
|
| D | dia_ru.txt | 371 gridSize=Шаг сетки
|
| D | dia_bg.txt | 371 gridSize=Размер на решетката
|
| D | dia_el.txt | 371 gridSize=Μέγεθος πλέγματος
|
| D | dia_zh.txt | 371 gridSize=网格大小
|
| D | dia_uk.txt | 371 gridSize=Розмір сітки
|
| /plugin/diagramsnet/lib/js/diagramly/vsdx/ |
| D | VsdxExport.js | 130 attr['gridSize'] = graph.gridSize;
|
| /plugin/sketchcanvas/bundle/ |
| D | SketchCanvas.js.map | 4 …gridSize = 8;\r\nvar toolButtonInterval = 36;\r\n\r\n// Called at the end of the constructor\r\nfu… 6 …ources", "dobjs", "dhistory", "selectobj", "handleSize", "gridEnable", "gridSize", "toolButtonInte…
|
| /plugin/jdraw/src/com/mxgraph/examples/swing/editor/ |
| D | EditorMenuBar.java.bak | 282 submenu.add(editor.bind(mxResources.get("gridSize"),
|
| /plugin/diagramsnet/lib/mxgraph/ |
| D | mxClient.js | 198 g=a.view.translate,k=a.gridSize/2,e=(a.snap(e/d-g.x-k)+g.x)*d,c=(a.snap(c/d-g.y-k)+g.y)*d;null!=thi… 360 …tGuideTolerance=function(a){return a&&this.graph.gridEnabled?this.graph.gridSize/2:this.tolerance}… 550 …ollapse=!0;mxStackLayout.prototype.allowGaps=!1;mxStackLayout.prototype.gridSize=0;mxStackLayout.p… method in mxStackLayout 554 …ull!=this.gridSize&&0<this.gridSize&&(a=Math.max(a,this.gridSize),1<a/this.gridSize)){var b=a%this… 570 …(this.node,0)),null!=this.node){this.layout(this.node);var g=this.graph.gridSize,d=g;if(!this.move… 954 …ar k=d=0,l=0,m=0,g=mxUtils.getValue(a.style,mxConstants.STYLE_SEGMENT,g.gridSize)*f.scale;a=mxUtil… 1059 …ull;mxGraph.prototype.renderHint=null;mxGraph.prototype.dialect=null;mxGraph.prototype.gridSize=10; 1153 …idEnabled&&(d=this.snap(d+this.gridSize/2),c=this.snap(c+this.gridSize/2)),c=new mxRectangle(0,0,d… 1195 …rototype.snap=function(a){this.gridEnabled&&(a=Math.round(a/this.gridSize)*this.gridSize);return a… 1196 …ar f=this.view.translate,g=this.view.scale;!c&&this.gridEnabled?(c=this.gridSize*g*.5,d||(d=b.x-(t… [all …]
|