Home | History | Annotate | Download | only in svg

Lines Matching refs:textBox

60 static inline float cumulativeCharacterRangeLength(const Vector<SVGChar>::iterator& start, const Vector<SVGChar>::iterator& end, SVGInlineTextBox* textBox,
67 RenderStyle* style = textBox->textRenderer()->style();
73 unsigned int newOffset = textBox->start() + (it - start) + startOffset;
76 if (textBox->direction() == RTL)
77 newOffset = textBox->start() + textBox->end() - newOffset;
83 textLength += textBox->calculateGlyphHeight(style, newOffset, 0);
85 textLength += textBox->calculateGlyphWidth(style, newOffset, 0, charsConsumed, glyphName);
127 void chunkPortionCallback(SVGInlineTextBox* textBox, int startOffset, const AffineTransform&,
130 RenderStyle* style = textBox->textRenderer()->style();
142 float textLength = cumulativeCharacterRangeLength(start, end, textBox, startOffset, -1, -1, isVerticalText, m_atCharacter);
157 float textLength = cumulativeCharacterRangeLength(start, end, textBox, startOffset, startPosition, length, isVerticalText, m_atCharacter);
190 unsigned int newOffset = textBox->start() + (it - start) + startOffset;
193 if (textBox->direction() == RTL)
194 newOffset = textBox->start() + textBox->end() - newOffset;
202 m_queryPointResult.move(it->x, it->y + textBox->calculateGlyphHeight(style, newOffset, extraCharactersAvailable));
204 m_queryPointResult.move(it->x + textBox->calculateGlyphWidth(style, newOffset, extraCharactersAvailable, charsConsumed, glyphName), it->y);
220 unsigned int newOffset = textBox->start() + (it - start) + startOffset;
221 m_queryRectResult = textBox->calculateGlyphBoundaries(style, newOffset, *it);
250 SVGChar* charAtPos = textBox->closestCharacterToPosition(m_queryPointInput.x(), m_queryPointInput.y(), offset);
309 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(boxIt->box);
311 Node* textElement = textBox->textRenderer()->parent()->node();
315 boxes.append(textBox);