Searched refs:strWidth (Results 1 – 1 of 1) sorted by relevance
72 var strWidth = 0 in drawLabel() variable73 while (strLimit < slice.name.length && strWidth <= width) { in drawLabel()74 strWidth += metrics.charWidth(slice.name[strLimit]) in drawLabel()77 if (strWidth > width) strLimit-- in drawLabel()