Lines Matching refs:curTextSize

1128         curTextSize = 12,  variable
5023 'curTextSize': curTextSize property in p.pushStyle.newState
5049 curTextSize = oldState.curTextSize;
10492 …rContext.measureText(typeof str === "number" ? String.fromCharCode(str) : str).width / curTextSize;
10494 … curContext.mozMeasureText(typeof str === "number" ? String.fromCharCode(str) : str) / curTextSize;
10554 curTextSize = size;
10574 curContext.font = curContext.mozTextStyle = curTextSize + "px " + curTextFont.name;
10583 curContext.font = curTextSize + "px " + curTextFont.name;
10599 if (oldTextFont !== curTextFont || oldTextSize !== curTextSize) {
10602 oldTextSize = curTextSize;
10608 bottom = curTextSize,
10609 yLoc = curTextSize/2;
10613 graphics.size(curTextSize, curTextSize);
10615 graphics = p.createGraphics(curTextSize, curTextSize);
10619 graphics.textFont(curTextFont, curTextSize);
10620 graphics.text(character, 0, curTextSize);
10624 for (var xLoc = 0; xLoc < curTextSize; xLoc++) {
10627 xLoc = curTextSize;
10640 ascent = ((curTextSize-1) - yLoc) + 1;
10655 if (oldTextFont !== curTextFont || oldTextSize !== curTextSize) {
10658 oldTextSize = curTextSize;
10664 bottom = curTextSize,
10665 yLoc = curTextSize/2;
10669 graphics.size(curTextSize, curTextSize);
10671 graphics = p.createGraphics(curTextSize, curTextSize);
10675 graphics.textFont(curTextFont, curTextSize);
10680 for (var xLoc = 0; xLoc < curTextSize; xLoc++) {
10683 xLoc = curTextSize;
10826 curContext.font = curContext.mozTextStyle = curTextSize + "px " + curTextFont.name;
10861 curContext.translate(x, y + curTextSize);
10875 newScale = 1 / upem * curTextSize;
10898 curContext.font = curContext.mozTextStyle = curTextSize + "px " + curTextFont.name;
10906 textcanvas.height = curTextSize;
10908 curContext.font = curContext.mozTextStyle = curTextSize + "px " + curTextFont.name;
10931 var scalefactor = curTextSize * 0.5;
10973 yOffset = (1-baselineOffset) * curTextSize;
10975 yOffset = (1-baselineOffset - linesCount/2) * curTextSize;
10977 yOffset = (1-baselineOffset - linesCount) * curTextSize;
10979 yOffset = (1 - linesCount) * curTextSize;
10984 yOffset += curTextSize;
10992 if(curTextSize > height) { // is text height larger than box
11003 curContext.font = curTextSize + "px " + curTextFont.name;
11035 yOffset += curTextSize;
11045 yOffset += curTextSize;
11058 var boxYOffset1 = (1-baselineOffset) * curTextSize, boxYOffset2 = 0;
11070 if (command.offset + boxYOffset2 + curTextSize > height) {
11092 hud.textSize(curTextSize);