Home
last modified time | relevance | path

Searched refs:scale (Results 151 – 175 of 528) sorted by path

12345678910>>...22

/plugin/diagramsnet/lib/js/diagramly/
H A DElectronApp.js49 scale: zoom,
1442 }, error, null, p.scale, p.border);
1919 currentPage, scale, border, grid, includeXml) argument
1989 scale: scale,
2009 var w = Math.floor(bounds.width * s / graph.view.scale);
2010 var h = Math.floor(bounds.height * s / graph.view.scale);
H A DExtensions.js13 var scale = 0.75; variable
5834 Math.round(b.w * scale), Math.round(b.h * scale)), vertexStyle);
7100 return val * scale;
7106 w = w * scale;
11116 Math.round(b.w * scale), Math.round(b.h * scale)), '');
12499 var th = p.Name_h * scale;
12556 var th = p.Name_h * scale;
12587 keyW = p.Column1 * scale;
12638 var th = p.Name_h * scale;
12669 keyW = p.Column1 * scale;
[all …]
H A DGitHubClient.js730 file.getData() : null, p.scale, p.border);
H A DGitLabClient.js722 file.getData() : null, p.scale, p.border);
H A DGraphViewer.js387 var s = this.view.scale;
414 this.graph.view.scale = this.graphConfig.zoom || 1;
468 scale: this.graph.view.scale property in graph.graph
692 this.graph.view.scale = 1;
725 scale: this.graph.view.scale property in graph.graph
863 scale: this.graph.view.scale property in graph.graph
978 Math.floor(this.graph.border - bounds.y / this.graph.view.scale) + origin.y);
1011 var s = graph.view.scale;
1391 this.graph.view.scaleAndTranslate(this.graph.initialViewState.scale,
1430 scale: v.scale property in graph.graph
[all …]
H A DLocalFile.js292 savedData : null, p.scale, p.border);
H A DMenus.js777 var val = parseInt(scale);
797 var val = parseInt(scale);
825 var val = parseInt(scale);
1609 var s = graph.view.scale;
1859 var scale = 1;
1864 var vs = graph.view.scale;
1873 …xmlCanvas.translate(Math.floor((b / scale - bounds.x) / vs), Math.floor((b / scale - bounds.y) / v…
1874 xmlCanvas.scale(scale / vs);
1903 var w = Math.ceil(bounds.width * scale / vs + 2 * b);
1904 var h = Math.ceil(bounds.height * scale / vs + 2 * b);
[all …]
H A DMinimal.js2477 elt.innerHTML = Math.round(ui.editor.graph.view.scale * 100) + '%';
H A DP2PCollab.js53 var s = graph.view.scale;
101 var s = graph.view.scale;
H A DPages.js564 graph.container.scrollTop = graph.view.translate.y * graph.view.scale + viewState.scrollTop;
619 scale: 1,
708 scale: this.view.scale,
709 scrollLeft: this.container.scrollLeft - this.view.translate.x * this.view.scale,
710 scrollTop: this.container.scrollTop - this.view.translate.y * this.view.scale,
772 if (state.scale != null)
774 this.view.scale = state.scale;
778 this.view.scale = 1;
803 this.view.scale = 1;
1186 newPage.viewState.scale = 1;
[all …]
H A DTrees.js521 dx = (state2.getCenterX() - state1.getCenterX()) / graph.view.scale;
522 dy = (state2.getCenterY() - state1.getCenterY()) / graph.view.scale;
711 var s = graph.view.scale;
967 var s = graph.view.scale;
H A DmxFreehand.js204 var s = graph.view.scale;
277 strokeWidth = Math.max(1, strokeWidth * graph.view.scale);
H A DmxRuler.js152 var scale = graph.view.scale;
159 …: RULER_THICKNESS + (isVertical? t.y * scale - graph.container.scrollTop : t.x * scale - graph.co…
198 if (scale <=0.5 || scale >=4)
211 if (scale >= 2)
213 step = tickStep / (Math.floor(scale / 2) * 2);
215 else if (scale <= 0.5)
217 … step = tickStep * (Math.floor((1 / scale) / 2) * (ruler.unit == mxConstants.MILLIMETERS? 2 : 1));
263 for (var i = hasPageView? rStart : rStart % (step * scale); i <= rEnd; i += step * scale)
265 var current = Math.round((i - rStart) / scale / step);
/plugin/diagramsnet/lib/js/diagramly/graphml/
H A DmxGraphMlCodec.js454 modVal = parseFloat(val) * mappingObj.scale;
973 "com.yworks.sbgn.style.radius": {key: "arcSize", mod: "scale", scale: 2}, property in mxGraphMlCodec.addNodeStyle.genericNodeStyle.com.yworks.sbgn.style.radius
2187 "scale": {key: "endSize", mod: "scale", scale: 5},
2201 "scale": {key: "startSize", mod: "scale", scale: 5},
/plugin/diagramsnet/lib/js/diagramly/sidebar/
H A DSidebar-Sitemap.js13 var scale = 0.2;
14 var w = 600 * scale;
15 var h = 350 * scale;
H A DSidebar.js1209 …dStencilPalette = function(id, title, stencilFile, style, ignore, onInit, scale, tags, customFns, … argument
1212 scale = (scale != null) ? scale : 1;
1220 w: Math.round(w * scale), h: Math.round(h * scale)};
1386 var s = graph.view.scale;
/plugin/diagramsnet/lib/js/diagramly/util/
H A DmxAsyncCanvas.js187 var sc = this.state.scale;
201 scale: sc,
H A DmxJsCanvas.js141 mxJsCanvas.prototype.scale = function(s) method in mxJsCanvas
143 this.state.scale *= s;
145 this.ctx.scale(s, s);
169 this.ctx.scale(sx, sy);
508 this.ctx.scale(w / 2, h / 2);
527 var scale = this.state.scale;
556 var s = this.state.scale;
561 ctx.scale(-1, 1);
567 ctx.scale(1, -1);
641 var sc = this.state.scale;
[all …]
/plugin/diagramsnet/lib/js/diagramly/vsdx/
H A DVsdxExport.js106 var sc = graph.view.scale;
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 : …
634 var s = graph.view.scale;
647 vsdxCanvas.scale(1 / s);
H A Dimporter.js126 if (scale !== 1) {
134 this.scaleRect(geo, scale);
527 p.x = (p.x * scale);
528 p.y = (p.y * scale);
542 rect.x = (rect.x * scale);
543 rect.y = (rect.y * scale);
544 rect.height = (rect.height * scale);
545 rect.width = (rect.width * scale);
1572 var scale = 1;
3818 if (scale != null) {
[all …]
H A DmxVsdxCanvas2D.js237 w = w * s.scale;
238 h = h * s.scale;
273 w = w * s.scale;
274 h = h * s.scale;
318 var w = geo.width * s.scale;
641 w = w * s.scale;
642 h = h * s.scale;
761 w = w * s.scale;
762 h = h * s.scale;
1117 cx *= s.scale;
[all …]
/plugin/diagramsnet/lib/js/
H A Dexport.js13 if (data.scale == 'auto')
16 data.scale = 1;
30 data.scale = parseFloat(data.scale) || 1;
543 data.scale = Math.min((data.pageHeight * v) / (gb.height / graph.view.scale),
548 data.scale = data.scale / graph.pageScale;
550 if (isNaN(data.scale))
646 var s = data.scale;
704 expScale = graph.view.scale || 1;
710 var scale = data.print? data.scale : 1 / graph.pageScale;
723 scale *= printScale;
[all …]
H A Dextensions.min.js1064 …eGeoSec();var k=this.state;e*=k.scale;q*=k.scale;var d=this.xmGeo;f=(f-d.x+k.dx)*k.scale;m=(d.heig…
1066 …=this.state;e*=k.scale;q*=k.scale;var d=this.xmGeo,b=d.height*k.scale,a=d.width*k.scale;f=(f-d.x+k…
1067 ….xmGeo,q=this.state;f=(f-e.x+q.dx)*q.scale;m=(e.height-m+e.y-q.dy)*q.scale;var k=e.height*q.scale,…
1068 ….xmGeo,q=this.state;f=(f-e.x+q.dx)*q.scale;m=(e.height-m+e.y-q.dy)*q.scale;var k=e.height*q.scale,…
1069 ….height*k.scale,a=d.width*k.scale;f=(f-d.x+k.dx)*k.scale;m=(d.height-m+d.y-k.dy)*k.scale;e=(e-d.x+…
1070scale,g=a.width*b.scale;f=(f-a.x+b.dx)*b.scale;m=(a.height-m+a.y-b.dy)*b.scale;e=(e-a.x+b.dx)*b.sc…
1075 …s.images.push(g);this.shapeImg={type:n,id:this.images.length+1};k=this.state;e*=k.scale;q*=k.scale;
1076 n=this.xmGeo;f=(f-n.x+k.dx)*k.scale;m=(n.height-m+n.y-k.dy)*k.scale;this.shape.appendChild(this.cre…
1078 …espace(this.html2txtDiv.childNodes));g=this.state;n=this.xmGeo;e*=g.scale;q*=g.scale;var y=this.cr…
1087 …rotate=function(f,m,e,q,k){0!=f&&(m=this.state,q+=m.dx,k+=m.dy,q*=m.scale,k*=m.scale,this.shape.ap…
[all …]
/plugin/diagramsnet/lib/js/grapheditor/
H A DActions.js40 var scale = graph.view.scale;
47 …if (Math.abs(scale - graph.view.scale) < 0.00001 && tx == graph.view.translate.x && ty == graph.vi…
213 var s = graph.view.scale;
991 var s = graph.view.scale;
1038 graph.zoomTo(scale);
1043 graph.container.scrollTop = pad.y * graph.view.scale - 1;
1060 graph.zoomTo(scale);
1080 var scale = Math.floor(20 * cw / fmt.width / ps) / 20;
1081 graph.zoomTo(scale);
1086 graph.container.scrollLeft = Math.min(pad.x * graph.view.scale,
[all …]
H A DDialogs.js752 var scale = graph.view.scale;
754 var width = Math.ceil(bounds.width / scale);
755 var height = Math.ceil(bounds.height / scale);
1287 xmlCanvas.translate(Math.floor((b / s - bounds.x) / graph.view.scale),
1288 Math.floor((b / s - bounds.y) / graph.view.scale));
1289 xmlCanvas.scale(s / graph.view.scale);
1296 var w = Math.ceil(bounds.width * s / graph.view.scale + 2 * b);
1297 var h = Math.ceil(bounds.height * s / graph.view.scale + 2 * b);

12345678910>>...22