Home | History | Annotate | Download | only in rendering

Lines Matching defs:styleToUse

218     RenderStyle* styleToUse = renderer().style(isFirstLineStyle());
219 const Font& font = styleToUse->font();
223 TextRun textRun = constructTextRun(styleToUse, font, respectHyphen ? &charactersWithHyphen : 0);
432 RenderStyle* styleToUse = renderer().style(isFirstLineStyle());
434 adjustedPaintOffset.move(0, styleToUse->isHorizontalWritingMode() ? 0 : -logicalHeight());
440 RenderCombineText* combinedText = styleToUse->hasTextCombine() && renderer().isCombineText() && toRenderCombineText(renderer()).isCombined() ? &toRenderCombineText(renderer()) : 0;
451 TextPainter::Style textStyle = TextPainter::textPaintingStyle(renderer(), styleToUse, paintInfo.forceBlackText(), isPrinting);
457 const Font& font = styleToUse->font();
467 paintCompositionBackgrounds(context, boxOrigin, styleToUse, font, useCustomUnderlines);
470 paintDocumentMarkers(context, boxOrigin, styleToUse, font, true);
473 paintSelection(context, boxOrigin, styleToUse, font, selectionStyle.fillColor);
491 TextRun textRun = constructTextRun(styleToUse, font, string, maximumLength, hasHyphen() ? &charactersWithHyphen : 0);
512 bool hasTextEmphasis = getEmphasisMarkPosition(styleToUse, emphasisMarkPosition);
514 textPainter.setEmphasisMark(styleToUse->textEmphasisMarkString(), emphasisMarkPosition);
546 TextDecoration textDecorations = styleToUse->textDecorationsInEffect();
558 paintDocumentMarkers(context, boxOrigin, styleToUse, font, false);
902 RenderStyle* styleToUse = renderer().style(isFirstLineStyle());
903 int baseline = styleToUse->fontMetrics().ascent();
909 float textDecorationThickness = styleToUse->fontMetrics().underlineThickness();
910 int fontHeightInt = (int)(styleToUse->fontMetrics().floatHeight() + 0.5);
912 textDecorationThickness = std::max(1.f, styleToUse->computedFontSize() / 10.f);
923 const int underlineOffset = computeUnderlineOffset(styleToUse->textUnderlinePosition(), styleToUse->fontMetrics(), this, textDecorationThickness);
1198 RenderStyle* styleToUse = text.style(isFirstLineStyle());
1199 ASSERT(styleToUse);
1200 const Font& font = styleToUse->font();
1204 return font.selectionRectForText(constructTextRun(styleToUse, font), IntPoint(logicalLeft(), 0), 0, from, to).maxX();
1235 RenderStyle* styleToUse = renderer().style(isFirstLineStyle());
1236 const Font& font = styleToUse->font();
1238 TextRun textRun = constructTextRun(styleToUse, font);