Home | History | Annotate | Download | only in rendering

Lines Matching refs:textBox

576     void chunkPortionCallback(SVGInlineTextBox* textBox, int startOffset, const AffineTransform& chunkCtm,
579 RenderText* text = textBox->textRenderer();
582 RenderStyle* styleToUse = text->style(textBox->isFirstLineStyle());
585 startOffset += textBox->start();
614 textWidth = styleToUse->font().width(svgTextRunForInlineTextBox(stringStart, stringLength, styleToUse, textBox, (*it).x));
620 textBox->paintDecoration(UNDERLINE, m_paintInfo.context, decorationOrigin.x(), decorationOrigin.y(), textWidth, *it, info);
623 textBox->paintDecoration(OVERLINE, m_paintInfo.context, decorationOrigin.x(), decorationOrigin.y(), textWidth, *it, info);
627 textBox->paintCharacters(m_paintInfo, m_tx, m_ty, *it, stringStart, stringLength, m_textPaintInfo);
631 textBox->paintDecoration(LINE_THROUGH, m_paintInfo.context, decorationOrigin.x(), decorationOrigin.y(), textWidth, *it, info);
718 InlineTextBox* textBox = static_cast<InlineTextBox*>(range.box);
719 RenderText* text = textBox->textRenderer();
722 return style->font().floatWidth(svgTextRunForInlineTextBox(text->characters() + textBox->start() + range.startOffset, range.endOffset - range.startOffset, style, textBox, 0));
731 InlineTextBox* textBox = static_cast<InlineTextBox*>(range.box);
732 RenderText* text = textBox->textRenderer();
738 TextRun svgTextRunForInlineTextBox(const UChar* c, int len, RenderStyle* style, const InlineTextBox* textBox, float xPos)
740 ASSERT(textBox);
743 TextRun run(c, len, false, static_cast<int>(xPos), textBox->toAdd(), textBox->direction() == RTL, textBox->m_dirOverride || style->visuallyOrdered());
746 run.setReferencingRenderObject(textBox->textRenderer()->parent());
1101 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(curr);
1102 unsigned length = textBox->len();
1116 stringRect.unite(textBox->calculateGlyphBoundaries(style, textBox->start() + i, *it));
1132 textBox->setHeight(enclosedStringRect.height());
1195 void SVGRootInlineBox::buildLayoutInformationForTextBox(SVGCharacterLayoutInfo& info, InlineTextBox* textBox, LastGlyphInfo& lastGlyph)
1197 RenderText* text = textBox->textRenderer();
1200 RenderStyle* style = text->style(textBox->isFirstLineStyle());
1204 SVGInlineTextBox* svgTextBox = static_cast<SVGInlineTextBox*>(textBox);
1206 unsigned length = textBox->len();
1225 if (textBox->direction() == RTL) {
1226 glyphWidth = svgTextBox->calculateGlyphWidth(style, textBox->end() - i, extraCharsAvailable, charsConsumed, glyphName);
1227 glyphHeight = svgTextBox->calculateGlyphHeight(style, textBox->end() - i, extraCharsAvailable);
1228 unicodeStr = String(textBox->textRenderer()->text()->characters() + textBox->end() - i, charsConsumed);
1230 glyphWidth = svgTextBox->calculateGlyphWidth(style, textBox->start() + i, extraCharsAvailable, charsConsumed, glyphName);
1231 glyphHeight = svgTextBox->calculateGlyphHeight(style, textBox->start() + i, extraCharsAvailable);
1232 unicodeStr = String(textBox->textRenderer()->text()->characters() + textBox->start() + i, charsConsumed);
1282 float spacing = font.letterSpacing() + calculateKerning(textBox->renderer()->node()->renderer());
1284 const UChar* currentCharacter = text->characters() + (textBox->direction() == RTL ? textBox->end() - i : textBox->start() + i);
1287 if (textBox->direction() == RTL) {
1288 if (i < textBox->end())
1289 lastCharacter = text->characters() + textBox->end() - i + 1;
1292 lastCharacter = text->characters() + textBox->start() + i - 1;
1458 InlineTextBox* textBox = static_cast<InlineTextBox*>(curr);
1460 unsigned length = textBox->len();
1466 textBox, length, textBox->start(), textBox->end(), (int) info.handlingTextPath);
1469 RenderText* text = textBox->textRenderer();
1727 void SVGRootInlineBox::walkTextChunks(SVGTextChunkWalkerBase* walker, const SVGInlineTextBox* textBox)
1752 if (textBox && rangeTextBox != textBox) {
1758 if (!textBox && !startedFirstChunk) {
1780 if (textBox)
1805 if (!textBox)
1809 if (!textBox && startedFirstChunk)