/external/webkit/WebCore/svg/ |
SVGTextContentElement.cpp | 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() [all...] |
/external/webkit/WebCore/rendering/ |
SVGRootInlineBox.cpp | 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) [all...] |
RenderSVGInlineText.cpp | 150 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(firstTextBox()); 152 if (!textBox || textLength() == 0) 155 SVGRootInlineBox* rootBox = textBox->svgRootInlineBox(); 169 for (SVGInlineTextBox* box = textBox; box; box = static_cast<SVGInlineTextBox*>(box->nextTextBox())) {
|
SVGRootInlineBox.h | 74 void walkTextChunks(SVGTextChunkWalkerBase*, const SVGInlineTextBox* textBox = 0); 98 TextRun svgTextRunForInlineTextBox(const UChar*, int len, RenderStyle* style, const InlineTextBox* textBox, float xPos);
|
SVGInlineTextBox.cpp | 127 void chunkPortionCallback(SVGInlineTextBox* textBox, int startOffset, const AffineTransform& chunkCtm, 130 RenderStyle* style = textBox->textRenderer()->style(); 139 unsigned int newOffset = textBox->start() + (it - start) + startOffset; 140 FloatRect glyphRect = chunkCtm.mapRect(textBox->calculateGlyphBoundaries(style, newOffset, *it)); 144 if (textBox->direction() == RTL) 145 newOffset = textBox->start() + textBox->end() - newOffset; 194 void chunkPortionCallback(SVGInlineTextBox* textBox, int startOffset, const AffineTransform& chunkCtm, 197 RenderStyle* style = textBox->textRenderer()->style(); 203 unsigned int newOffset = textBox->start() + (it - start) + startOffset [all...] |
SVGRenderTreeAsText.cpp | 362 static inline void writeSVGInlineTextBox(TextStream& ts, SVGInlineTextBox* textBox, int indent) 364 SVGRootInlineBox* rootBox = textBox->svgRootInlineBox(); 382 if (!containsInlineTextBox(cur, textBox)) { 415 if (textBox != static_cast<SVGInlineTextBox*>(range.box)) { 430 if (textBox->direction() == RTL || textBox->m_dirOverride) { 431 ts << (textBox->direction() == RTL ? " RTL" : " LTR"); 433 if (textBox->m_dirOverride) 437 ts << ": " << quoteAndEscapeNonPrintables(String(textBox->textRenderer()->text()).substring(textBox->start() + range.startOffset, offset)) << "\n" [all...] |
SVGCharacterLayoutInfo.h | 294 virtual void operator()(SVGInlineTextBox* textBox, int startOffset, const AffineTransform& chunkCtm, 312 typedef void (CallbackClass::*SVGTextChunkWalkerCallback)(SVGInlineTextBox* textBox, 352 virtual void operator()(SVGInlineTextBox* textBox, int startOffset, const AffineTransform& chunkCtm, 355 (*m_object.*m_walkerCallback)(textBox, startOffset, chunkCtm, start, end);
|
RenderLineBoxList.cpp | 280 InlineTextBox* textBox = toRenderText(curr)->lastTextBox(); 281 if (textBox) 282 box = textBox->root();
|
RenderText.cpp | [all...] |
RenderBlockLineLayout.cpp | 187 InlineTextBox* textBox = toRenderText(obj)->createInlineTextBox(); 191 textBox->setIsText(isOnlyRun || obj->document()->inStrictMode()); 192 return textBox; [all...] |
RenderBlock.cpp | [all...] |
/external/webkit/WebKit/android/nav/ |
CacheBuilder.cpp | 542 InlineTextBox* textBox = renderText->firstTextBox(); 544 while (textBox) { 546 IntRect rect = textBox->selectionRect((int) pt.x(), (int) pt.y(), 0, INT_MAX); 551 textBox->len(), 0 /*textBox->selectionHeight()*/, 552 0 /*textBox->selectionTop()*/); 554 0 /*textBox->spaceAdd()*/, textBox->start(), 0 /*textBox->textPos()*/); 556 textBox->x(), textBox->y(), textBox->width(), textBox->height()) [all...] |
CacheBuilder.h | 221 InlineTextBox* textBox, int start, int relEnd, int x, int y,
|
/external/webkit/WebCore/editing/ |
TextIterator.cpp | 468 for (InlineTextBox* textBox = renderer->firstTextBox(); textBox; textBox = textBox->nextTextBox()) { 469 m_sortedTextBoxes.append(textBox); [all...] |