Home
last modified time | relevance | path

Searched refs:textRenderer (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGTextLayoutEngineBaseline.cpp62 …e::dominantBaselineToAlignmentBaseline(bool isVerticalText, const RenderObject* textRenderer) const in dominantBaselineToAlignmentBaseline()
64 ASSERT(textRenderer); in dominantBaselineToAlignmentBaseline()
65 ASSERT(textRenderer->style()); in dominantBaselineToAlignmentBaseline()
66 ASSERT(textRenderer->parent()); in dominantBaselineToAlignmentBaseline()
67 ASSERT(textRenderer->parent()->style()); in dominantBaselineToAlignmentBaseline()
69 const SVGRenderStyle* style = textRenderer->style()->svgStyle(); in dominantBaselineToAlignmentBaseline()
85 return dominantBaselineToAlignmentBaseline(isVerticalText, textRenderer->parent()); in dominantBaselineToAlignmentBaseline()
87 return dominantBaselineToAlignmentBaseline(isVerticalText, textRenderer->parent()); in dominantBaselineToAlignmentBaseline()
110 …eline::calculateAlignmentBaselineShift(bool isVerticalText, const RenderObject* textRenderer) const in calculateAlignmentBaselineShift()
112 ASSERT(textRenderer); in calculateAlignmentBaselineShift()
[all …]
DSVGInlineTextBox.cpp87 RenderSVGInlineText* textRenderer = toRenderSVGInlineText(this->textRenderer()); in offsetForPositionInFragment() local
88 ASSERT(textRenderer); in offsetForPositionInFragment()
90 float scalingFactor = textRenderer->scalingFactor(); in offsetForPositionInFragment()
93 RenderStyle* style = textRenderer->style(); in offsetForPositionInFragment()
105 …return fragment.characterOffset - start() + textRenderer->scaledFont().offsetForPosition(textRun, … in offsetForPositionInFragment()
122 RenderSVGInlineText* textRenderer = toRenderSVGInlineText(this->textRenderer()); in selectionRectForTextFragment() local
123 ASSERT(textRenderer); in selectionRectForTextFragment()
125 float scalingFactor = textRenderer->scalingFactor(); in selectionRectForTextFragment()
128 const Font& scaledFont = textRenderer->scaledFont(); in selectionRectForTextFragment()
152 RenderText* text = textRenderer(); in localSelectionRect()
[all …]
DSVGInlineFlowBox.cpp62 …teTextMatchMarkerRectForRenderer(toRenderSVGInlineText(toSVGInlineTextBox(child)->textRenderer())); in paint()
80 void SVGInlineFlowBox::computeTextMatchMarkerRectForRenderer(RenderSVGInlineText* textRenderer) in computeTextMatchMarkerRectForRenderer() argument
82 ASSERT(textRenderer); in computeTextMatchMarkerRectForRenderer()
84 Node* node = textRenderer->node(); in computeTextMatchMarkerRectForRenderer()
88 RenderStyle* style = textRenderer->style(); in computeTextMatchMarkerRectForRenderer()
92 Document& document = textRenderer->document(); in computeTextMatchMarkerRectForRenderer()
93 Vector<DocumentMarker*> markers = document.markers()->markersFor(textRenderer->node()); in computeTextMatchMarkerRectForRenderer()
104 for (InlineTextBox* box = textRenderer->firstTextBox(); box; box = box->nextTextBox()) { in computeTextMatchMarkerRectForRenderer()
138 …toRenderedDocumentMarker(marker)->setRenderedRect(textRenderer->localToAbsoluteQuad(markerRect).en… in computeTextMatchMarkerRectForRenderer()
DSVGTextQuery.cpp39 , textRenderer(0) in Data()
46 RenderSVGInlineText* textRenderer; member
115 queryData->textRenderer = toRenderSVGInlineText(queryData->textBox->textRenderer()); in executeQuery()
116 ASSERT(queryData->textRenderer); in executeQuery()
117 ASSERT(queryData->textRenderer->style()); in executeQuery()
118 ASSERT(queryData->textRenderer->style()->svgStyle()); in executeQuery()
120 … queryData->isVerticalText = queryData->textRenderer->style()->svgStyle()->isVerticalWritingMode(); in executeQuery()
158 SVGTextLayoutAttributes* layoutAttributes = queryData->textRenderer->layoutAttributes(); in modifyStartEndPositionsRespectingLigatures()
298 …SVGTextMetrics metrics = SVGTextMetrics::measureCharacterRange(queryData->textRenderer, fragment.c… in subStringLengthCallback()
336 …SVGTextMetrics metrics = SVGTextMetrics::measureCharacterRange(queryData->textRenderer, fragment.c… in startPositionOfCharacterCallback()
[all …]
DRenderSVGInline.cpp129 if (RenderSVGText* textRenderer = RenderSVGText::locateRenderSVGTextAncestor(this)) in addChild() local
130 textRenderer->subtreeChildWasAdded(child); in addChild()
137 RenderSVGText* textRenderer = RenderSVGText::locateRenderSVGTextAncestor(this); in removeChild() local
138 if (!textRenderer) { in removeChild()
143 textRenderer->subtreeChildWillBeRemoved(child, affectedAttributes); in removeChild()
145 textRenderer->subtreeChildWasRemoved(affectedAttributes); in removeChild()
DSVGTextMetrics.cpp43 SVGTextMetrics::SVGTextMetrics(RenderSVGInlineText* textRenderer, const TextRun& run) in SVGTextMetrics() argument
45 ASSERT(textRenderer); in SVGTextMetrics()
47 float scalingFactor = textRenderer->scalingFactor(); in SVGTextMetrics()
50 const Font& scaledFont = textRenderer->scaledFont(); in SVGTextMetrics()
DSVGTextChunkBuilder.cpp94 RenderSVGInlineText* textRenderer = toRenderSVGInlineText(textBox->textRenderer()); in addTextChunk() local
95 ASSERT(textRenderer); in addTextChunk()
97 const RenderStyle* style = textRenderer->style(); in addTextChunk()
128 …Element* textContentElement = SVGTextContentElement::elementFromRenderer(textRenderer->parent())) { in addTextChunk()
DSVGTextLayoutEngineBaseline.h41 …float calculateAlignmentBaselineShift(bool isVerticalText, const RenderObject* textRenderer) const;
46 …e dominantBaselineToAlignmentBaseline(bool isVerticalText, const RenderObject* textRenderer) const;
DRenderSVGInlineText.cpp71 if (RenderSVGText* textRenderer = RenderSVGText::locateRenderSVGTextAncestor(this)) in setTextInternal() local
72 textRenderer->subtreeTextDidChange(this); in setTextInternal()
96 if (RenderSVGText* textRenderer = RenderSVGText::locateRenderSVGTextAncestor(this)) in styleDidChange() local
97 textRenderer->subtreeStyleDidChange(this); in styleDidChange()
DSVGRootInlineBox.cpp61 …teTextMatchMarkerRectForRenderer(toRenderSVGInlineText(toSVGInlineTextBox(child)->textRenderer())); in paint()
285 RenderSVGInlineText* firstContext = toRenderSVGInlineText(firstTextBox->textRenderer()); in reverseInlineBoxRangeAndValueListsIfNeeded()
286 RenderSVGInlineText* lastContext = toRenderSVGInlineText(lastTextBox->textRenderer()); in reverseInlineBoxRangeAndValueListsIfNeeded()
DSVGTextLayoutEngine.cpp237 RenderSVGInlineText* text = toRenderSVGInlineText(textBox->textRenderer()); in layoutInlineTextBox()
267 …r SVGInlineTextBox, textBox=%p, textRenderer=%p\n", boxPosition, textBox, textBox->textRenderer()); in dumpTextBoxes()
269 …fprintf(stderr, " textRenderer properties, textLength=%i\n", textBox->textRenderer()->textLength… in dumpTextBoxes()
271 String characters = textBox->textRenderer()->text(); in dumpTextBoxes()
DSVGRenderTreeAsText.cpp383 RenderSVGInlineText* textRenderer = toRenderSVGInlineText(textBox->textRenderer()); in writeSVGInlineTextBox() local
384 ASSERT(textRenderer); in writeSVGInlineTextBox()
386 const SVGRenderStyle* svgStyle = textRenderer->style()->svgStyle(); in writeSVGInlineTextBox()
387 String text = textBox->textRenderer()->text(); in writeSVGInlineTextBox()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DPosition.cpp465 RenderText* textRenderer = toRenderText(deprecatedNode()->renderer()); in renderedOffset() local
466 for (InlineTextBox *box = textRenderer->firstTextBox(); box; box = box->nextTextBox()) { in renderedOffset()
656 RenderText* textRenderer = toRenderText(renderer); in upstream() local
657 InlineTextBox* lastTextBox = textRenderer->lastTextBox(); in upstream()
658 for (InlineTextBox* box = textRenderer->firstTextBox(); box; box = box->nextTextBox()) { in upstream()
677 …if (otherBox == lastTextBox || (otherBox->renderer() == textRenderer && toInlineTextBox(otherBox)-… in upstream()
686 …if (otherBox == lastTextBox || (otherBox->renderer() == textRenderer && toInlineTextBox(otherBox)-… in upstream()
780 RenderText* textRenderer = toRenderText(renderer); in downstream() local
781 InlineTextBox* lastTextBox = textRenderer->lastTextBox(); in downstream()
782 for (InlineTextBox* box = textRenderer->firstTextBox(); box; box = box->nextTextBox()) { in downstream()
[all …]
DText.cpp341 RenderText* textRenderer = toRenderText(renderer()); in updateTextRenderer() local
342 if (!textRenderer || !textRendererIsNeeded(NodeRenderingContext(this, textRenderer->style()))) { in updateTextRenderer()
349 textRenderer->setTextWithOffset(dataImpl(), offsetOfReplacedData, lengthOfReplacedData); in updateTextRenderer()
/external/chromium_org/third_party/WebKit/Source/core/page/
DTouchAdjustment.cpp154 RenderText* textRenderer = toRenderText(textNode->renderer()); in appendContextSubtargetsForNode() local
156 if (textRenderer->frame()->editor().behavior().shouldSelectOnContextualMenuClick()) { in appendContextSubtargetsForNode()
167 textRenderer->absoluteQuadsForRange(quads, lastOffset, offset); in appendContextSubtargetsForNode()
173 if (textRenderer->selectionState() == RenderObject::SelectionNone) in appendContextSubtargetsForNode()
177 switch (textRenderer->selectionState()) { in appendContextSubtargetsForNode()
180 endPos = textRenderer->textLength(); in appendContextSubtargetsForNode()
183 textRenderer->selectionStartEnd(startPos, endPos); in appendContextSubtargetsForNode()
184 endPos = textRenderer->textLength(); in appendContextSubtargetsForNode()
187 textRenderer->selectionStartEnd(startPos, endPos); in appendContextSubtargetsForNode()
191 textRenderer->selectionStartEnd(startPos, endPos); in appendContextSubtargetsForNode()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DInlineTextBox.cpp205 RenderText* textObj = textRenderer(); in localSelectionRect()
372 …>isBR() || (renderer()->style()->preserveNewline() && len() == 1 && (*textRenderer()->text().impl(… in isLineBreak()
491 bool isPrinting = textRenderer()->document().printing(); in paint()
528 …TextCombine() && textRenderer()->isCombineText() && toRenderCombineText(textRenderer())->isCombine… in paint()
558 …if (textRenderer()->document().settings() && textRenderer()->document().settings()->shouldPrintBac… in paint()
657 string = textRenderer()->text().createView(); in paint()
660 maximumLength = textRenderer()->textLength() - m_start; in paint()
794 endPos = textRenderer()->textLength(); in selectionStartEnd()
796 textRenderer()->selectionStartEnd(startPos, endPos); in selectionStartEnd()
798 endPos = textRenderer()->textLength(); in selectionStartEnd()
[all …]
DInlineTextBox.h125 RenderText* textRenderer() const;
198 inline RenderText* InlineTextBox::textRenderer() const in textRenderer() function
DRenderNamedFlowThread.cpp667 RenderText* textRenderer = toRenderText(renderer); in getRanges() local
668 … for (InlineTextBox* box = textRenderer->firstTextBox(); box; box = box->nextTextBox()) { in getRanges()
695 RenderText* textRenderer = toRenderText(renderer); in getRanges() local
697 … for (InlineTextBox* box = textRenderer->firstTextBox(); box; box = box->nextTextBox()) { in getRanges()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGTextPositioningElement.cpp142 if (RenderSVGText* textRenderer = RenderSVGText::locateRenderSVGTextAncestor(renderer)) in svgAttributeChanged() local
143 textRenderer->setNeedsPositioningValuesUpdate(); in svgAttributeChanged()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisibleUnits.cpp298 … previousBox->textRenderer()->text().appendTo(string, previousBox->start(), previousBoxLength); in wordBreakIteratorForMinOffsetBoundary()
301 textBox->textRenderer()->text().appendTo(string, textBox->start(), textBox->len()); in wordBreakIteratorForMinOffsetBoundary()
317 textBox->textRenderer()->text().appendTo(string, textBox->start(), textBox->len()); in wordBreakIteratorForMaxOffsetBoundary()
320 nextBox->textRenderer()->text().appendTo(string, nextBox->start(), nextBox->len()); in wordBreakIteratorForMaxOffsetBoundary()
387 … iter = wordBreakIterator(textBox->textRenderer()->text(), textBox->start(), textBox->len()); in visualWordPosition()
DCompositeEditCommand.cpp750 RenderText* textRenderer = toRenderText(textNode->renderer()); in deleteInsignificantText() local
751 if (!textRenderer) in deleteInsignificantText()
757 …for (InlineTextBox* textBox = textRenderer->firstTextBox(); textBox; textBox = textBox->nextTextBo… in deleteInsignificantText()
762 if (textRenderer->containsReversedText()) in deleteInsignificantText()