Home
last modified time | relevance | path

Searched refs:gridSize (Results 1 – 25 of 89) sorted by relevance

1234

/plugin/sketchcanvas/script/
DSketchCanvas.js43 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/
DmxMockupGraphics.js455 …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 …]
DmxMockupiOS.js5477 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/
DPages.js601 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;
DElectronApp.js1973 size: graph.gridSize,
/plugin/diagramsnet/lib/js/grapheditor/
DEditor.js467 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;
DMenus.js460 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/
DmxIOS7Ui.js713 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/
Dsql.js585 … 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/
Deditor.properties.bak138 gridSize=Grid Size
Deditor_de.properties.bak139 gridSize=Gittergr�sse
Deditor_de.properties146 gridSize=Gittergr�sse key
Deditor.properties142 gridSize=Grid Size key
Deditor_zh-CN.properties138 gridSize=Grid Size key
/plugin/diagramsnet/lib/js/
Dexport.js54 graph.gridSize = extras.grid.size;
373 var phase = graph.gridSize * view.gridSteps * view.scale;
/plugin/diagramsnet/lib/resources/
Ddia_i18n.txt371 gridSize=gridSize
Ddia_ru.txt371 gridSize=Шаг сетки
Ddia_bg.txt371 gridSize=Размер на решетката
Ddia_el.txt371 gridSize=Μέγεθος πλέγματος
Ddia_zh.txt371 gridSize=网格大小
Ddia_uk.txt371 gridSize=Розмір сітки
/plugin/diagramsnet/lib/js/diagramly/vsdx/
DVsdxExport.js130 attr['gridSize'] = graph.gridSize;
/plugin/sketchcanvas/bundle/
DSketchCanvas.js.map4gridSize = 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/
DEditorMenuBar.java.bak282 submenu.add(editor.bind(mxResources.get("gridSize"),
/plugin/diagramsnet/lib/mxgraph/
DmxClient.js198 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 …]

1234