Lines Matching refs:chars
517 char[] chars = new char[len];
520 chars[n++] = c;
527 Font font = singleFont(chars, 0, len, attributes);
529 fastInit(chars, font, attributes, frc);
534 standardInit(text, chars, frc);
584 private void fastInit(char[] chars, Font font, Map attrs, FontRenderContext frc) {
589 LineMetrics lm = font.getLineMetrics(chars, 0, chars.length, frc);
598 paragraphInit(glyphBaseline, cm, attrs, chars);
601 characterCount = chars.length;
603 textLine = TextLine.fastCreateTextLine(frc, chars, font, cm, attrs);
609 * @param chars the text in the iterator, extracted into a char array
611 private void standardInit(AttributedCharacterIterator text, char[] chars, FontRenderContext frc) {
613 characterCount = chars.length;
629 LineMetrics lm = defaultFont.getLineMetrics(chars, charsStart, charsStart+1, frc);
631 paragraphInit((byte)cm.baselineIndex, cm, paragraphAttrs, chars);
641 paragraphInit(defaultBaseline, cm, paragraphAttrs, chars);
645 textLine = TextLine.standardCreateTextLine(frc, text, chars, baselineOffsets);