Lines Matching defs:paint
118 // Ordinarily, this method measures the text in the range given. However, when paint
123 float LineBreaker::addStyleRun(MinikinPaint* paint, const FontCollection* typeface,
129 if (paint != nullptr) {
131 style, *paint, typeface, mCharWidths.data() + start);
134 hyphenPenalty = 0.5 * paint->size * paint->scaleX * mLineWidths.getLineWidth(0);
170 if (paint != nullptr && mHyphenator != nullptr &&
190 paint->hyphenEdit = hyph;
194 *paint, typeface, nullptr);
196 paint->hyphenEdit = 0;
199 afterWord - j, mTextBuf.size(), bidiFlags, style, *paint,
210 if (paint != nullptr || current == end || mCharWidths[current] > 0) {