Home | History | Annotate | Download | only in chromeos

Lines Matching refs:textHeight

29   var textHeight = 12 * devicePixelRatio;
81 ctx.strokeRect(x, y - textHeight, getTextWidth(ctx, text), textHeight);
83 ctx.fillRect(x, y - textHeight, getTextWidth(ctx, text), textHeight);
146 yLoc = yLoc + 2 * padding + textHeight;
151 legendCanvas.height = yLoc + textHeight + padding;
164 drawText(legendCtx, legendText, xLoc, yLoc + textHeight - 1);
173 yLoc = yLoc + 2 * padding + textHeight;
194 var yOrigin = padding + textHeight;
200 var height = plotCanvas.height - yOrigin - textHeight - padding;
211 drawText(plotCtx, yMaxStr, xOrigin - yMaxWidth, yOrigin + textHeight);
216 yOrigin + height + textHeight);
220 yOrigin + height + textHeight);
239 yOrigin + height / 2 + textHeight / 2);
348 if (yPos - textHeight / 2 < yOrigin) {
349 yLoc = yOrigin + textHeight;
350 } else if (yPos + textHeight / 2 >= yPos + height) {
353 yLoc = yPos + textHeight / 2;