Lines Matching refs:textWidth
10567 p.textWidth = function textWidth(str) { function
10822 var textWidth = 0, xOffset = 0;
10836 textWidth = curContext.measureText(str).width;
10838 textWidth = curContext.mozMeasureText(str);
10842 xOffset = -textWidth;
10844 xOffset = -textWidth/2;
10865 textWidth = font.width(str);
10868 xOffset = -textWidth;
10870 xOffset = -textWidth/2;
10899 var textWidth = 0;
10901 textWidth = curContext.measureText(str).width;
10903 textWidth = curContext.mozMeasureText(str);
10905 textcanvas.width = textWidth;
10926 xOffset = -textWidth;
10928 xOffset = -textWidth/2;
11083 var tWidth = p.textWidth(arguments[0]);