Lines Matching refs:scale

13 	var scale = 0.75;  variable
4106 str += 'font-size:' + fix1Digit(fontSize * scale) + 'px;';
4134 …str += 'margin-left: ' + Math.max(0, fix1Digit(styles['il'].v * scale - (listActive? 28 : 0))) + '…
4139 str += 'margin-right: ' + fix1Digit(styles['ir'].v * scale) + 'px;';
4144 str += 'margin-top: ' + fix1Digit(styles['mt'].v * scale) + 'px;';
4149 str += 'margin-bottom: ' + fix1Digit(styles['mb'].v * scale) + 'px;';
4187 str += 'font-size:' + (styles['s']? fix1Digit(styles['s'].v * scale) : defaultFontSize) + 'px;';
4765 return 'fontSize=' + fix1Digit(currM.v * scale) + ';';
5004 return 'spacingLeft=' + fix1Digit(currM.v * scale) + ';';
5045 return 'spacingRight=' + fix1Digit(currM.v * scale) + ';';
5075 return 'spacingTop=' + fix1Digit(currM.v * scale) + ';';
5105 return 'spacingBottom=' + fix1Digit(currM.v * scale) + ';';
5121 return 'spacing=' + Math.max(0, fix1Digit((properties.InsetMargin) * scale)) + ';';
5229 return 'rounded=1;absoluteArcSize=1;arcSize=' + fix1Digit(properties.Rounding * scale) + ';';
5437 …tyle(mxConstants.STYLE_STROKEWIDTH, fix1Digit(parseFloat(properties.LineWidth) * scale), '1') : '';
5667 Math.round(p.ElbowPoints[i].x * scale + dx),
5668 Math.round(p.ElbowPoints[i].y * scale + dy)));
5743 Math.round(pt.x * scale + dx),
5744 Math.round(pt.y * scale + dy)));
5833 v = new mxCell('', new mxGeometry(Math.round(b.x * scale + dx), Math.round(b.y * scale + dy),
5834 Math.round(b.w * scale), Math.round(b.h * scale)), vertexStyle);
6010 size = fix1Digit(scale * parseFloat(obj.Value.m[i].v));
6133 var s = scaleIt? scale : 1;
6377 e.geometry.setTerminalPoint(new mxPoint(Math.round(p.Endpoint1.x * scale),
6378 Math.round(p.Endpoint1.y * scale)), true);
6383 e.geometry.setTerminalPoint(new mxPoint(Math.round(p.Endpoint2.x * scale),
6384 Math.round(p.Endpoint2.y * scale)), false);
6788 node.setAttribute('pageWidth', pages[i].Properties.Size.w * scale);
6789 node.setAttribute('pageHeight', pages[i].Properties.Size.h * scale);
6795 node.setAttribute('gridSize', pages[i].Properties.GridSpacing * scale);
6960 var w = Math.round(b.w * scale);
6961 var h = Math.round(b.h * scale);
6962 var x = Math.round(b.x * scale + dx);
6963 var y = Math.round(b.y * scale + dy);
7100 return val * scale;
7106 w = w * scale;
7107 h = h * scale + mainTxtHeight + laneTxtHeight;
7182 var currOffset = (p.PrimaryLane[j] * scale)/ w;
7230 var colStartSize = p.TitleHeight * scale || 25;
7231 var rowStartSize = p.TitleWidth * scale || 25;
7237 var rowStartSize = p.SecondaryLaneTitleHeight * scale || 25;
7238 var colStartSize = p.PrimaryLaneTitleHeight * scale || 25;
7253 w = w * scale + rowStartSize;
7254 h = h * scale + colStartSize;
7280 var rh = parseInt(p.Rows[j].height) * scale;
7286 var rh = p.SecondaryLane[j] * scale;
7318 var cw = parseInt(p.Columns[j].width) * scale;
7324 var cw = p.PrimaryLane[j] * scale;
7372 var startSize = Math.round(p.nameHeight * scale);
8448 …=#ffffff;strokeColor=#C8C7CC;spacing=0;align=left;spacingLeft=' + (p.SeparatorInset * scale) + ';';
8494 …or=#C8C7CC;align=left;spacing=0;verticalAlign=top;spacingLeft=' + (p.SeparatorInset * scale) + ';';
8502 …r=none;spacing=0;align=left;verticalAlign=bottom;spacingLeft=' + (p.SeparatorInset * scale) + ';');
8552 …#C8C7CC;align=left;spacing=0;verticalAlign=middle;spacingLeft=' + (p.SeparatorInset * scale) + ';';
9302 …var curH = p.TaskHeight? p.TaskHeight * scale : Math.max(mxUtils.getSizeForString(p.TaskName.t, fz…
9547 rowHs[i] = p.RowHeights[i] * scale;
9552 colWs[j] = p.ColWidths[j] * scale;
9646 …ll ? createStyle(mxConstants.STYLE_STROKEWIDTH, Math.round(parseFloat(borderW) * scale), '1') : '')
11115 …v = new mxCell('', new mxGeometry(Math.round(b.x * scale + dx), Math.round((b.y + oldH - b.h) * sc…
11116 Math.round(b.w * scale), Math.round(b.h * scale)), '');
12422 var th = Math.round(p.TitleHeight * scale) || 25;
12472 var extH = p.ExtraHeightSet && i == 1? (p.ExtraHeight * scale) : 0;
12499 var th = p.Name_h * scale;
12531 var curH = p['Field' + (i + 1) + '_h'] * scale;
12556 var th = p.Name_h * scale;
12587 keyW = p.Column1 * scale;
12594 …key[i] = new mxCell('', new mxGeometry(0, currH, keyW, p['Key' + (i + 1) + '_h'] * scale), 'stroke…
12612 …l('', new mxGeometry(keyW, currH, w - keyW, p['Field' + (i + 1) + '_h'] * scale), 'shape=partialRe…
12631 currH += p['Key' + (i + 1) + '_h'] * scale;
12638 var th = p.Name_h * scale;
12669 keyW = p.Column1 * scale;
12676 …key[i] = new mxCell('', new mxGeometry(0, currH, keyW, p['Field' + (i + 1) + '_h'] * scale), 'stro…
12695 …ll('', new mxGeometry(keyW, currH, w - keyW, p['Type' + (i + 1) + '_h'] * scale), 'shape=partialRe…
12714 currH += p['Field' + (i + 1) + '_h'] * scale;
12720 var th = p.Name_h * scale;
12753 keyW = p.Column1 * scale;
12758 typeW = p.Column2 * scale;
12765 …key[i] = new mxCell('', new mxGeometry(0, currH, keyW, p['Key' + (i + 1) + '_h'] * scale), 'stroke…
12784 …w mxGeometry(keyW, currH, w - keyW - typeW, p['Field' + (i + 1) + '_h'] * scale), 'shape=partialRe…
12803 …('', new mxGeometry(w - typeW, currH, typeW, p['Type' + (i + 1) + '_h'] * scale), 'shape=partialRe…
12822 currH += p['Key' + (i + 1) + '_h'] * scale;
13028 …var sw = (dd.w == 'prop' || dd.w == null? strokeWidth : dd.w) / Math.min(w, h) * scale; //TODO Str…
13273 lblGeo.width *= gTxtObj.fw * scale / w;
13277 lblGeo.height *= gTxtObj.fh * scale / h;
13281 lblGeo.x = (gTxtObj.fx > 0? 1 : 0) + gTxtObj.fx * scale / w;
13285 lblGeo.y = (gTxtObj.fy > 0? 1 : 0) + gTxtObj.fy * scale / h;
13642 style += 'font-size:' + fix1Digit(val * scale) + 'px;';
13671 var x = pos.x * scale, y = pos.y * scale;
13851 var levelSps = layoutSettings.NodeSpacing.LevelSeparation * scale;
13852 … = new mxOrgChartLayout(graph, 0, levelSps, layoutSettings.NodeSpacing.NeighborSeparation * scale);