Searched refs:textBox (Results 1 - 20 of 20) sorted by relevance

/macosx-10.10/WebCore-7600.1.25/rendering/svg/
H A DSVGTextChunkBuilder.cpp33 void SVGTextChunkBuilder::transformationForTextBox(SVGInlineTextBox* textBox, AffineTransform& transform) const argument
36 if (!m_textBoxTransformations.contains(textBox)) {
41 transform = m_textBoxTransformations.get(textBox);
54 SVGInlineTextBox* textBox = lineLayoutBoxes[boxPosition]; local
55 if (!textBox->startsNewTextChunk())
90 SVGInlineTextBox* textBox = lineLayoutBoxes[boxStart]; local
91 ASSERT(textBox);
93 const RenderStyle& style = textBox->renderer().style();
122 if (SVGTextContentElement* textContentElement = SVGTextContentElement::elementFromRenderer(textBox->renderer().parent())) {
182 SVGInlineTextBox* textBox local
[all...]
H A DSVGTextLayoutEngine.cpp112 void SVGTextLayoutEngine::recordTextFragment(SVGInlineTextBox* textBox, Vector<SVGTextMetrics>& textMetricsValues) argument
139 textBox->textFragments().append(m_currentTextFragment);
231 void SVGTextLayoutEngine::layoutInlineTextBox(SVGInlineTextBox* textBox) argument
233 ASSERT(textBox);
235 RenderSVGInlineText& text = textBox->renderer();
242 textBox->clearTextFragments();
244 layoutTextOnLineOrPath(textBox, &text, &style);
247 m_pathLayoutBoxes.append(textBox);
251 m_lineLayoutBoxes.append(textBox);
261 SVGInlineTextBox* textBox local
288 SVGInlineTextBox* textBox = boxes.at(boxPosition); local
381 currentVisualCharacterMetrics(SVGInlineTextBox* textBox, Vector<SVGTextMetrics>& visualMetricsValues, SVGTextMetrics& visualMetrics) argument
421 layoutTextOnLineOrPath(SVGInlineTextBox* textBox, RenderSVGInlineText* text, const RenderStyle* style) argument
[all...]
H A DRenderSVGInlineText.cpp124 InlineTextBox* textBox = toInlineTextBox(box);
125 if (static_cast<unsigned>(caretOffset) < textBox->start() || static_cast<unsigned>(caretOffset) > textBox->start() + textBox->len())
129 if (static_cast<unsigned>(caretOffset) < textBox->start() + textBox->len()) {
130 LayoutRect rect = textBox->localSelectionRect(caretOffset, caretOffset + 1);
135 LayoutRect rect = textBox->localSelectionRect(caretOffset - 1, caretOffset);
193 SVGInlineTextBox* textBox = toSVGInlineTextBox(box); local
194 Vector<SVGTextFragment>& fragments = textBox
[all...]
H A DSVGInlineFlowBox.cpp101 SVGInlineTextBox* textBox = toSVGInlineTextBox(box); local
103 int markerStartPosition = std::max<int>(marker->startOffset() - textBox->start(), 0);
104 int markerEndPosition = std::min<int>(marker->endOffset() - textBox->start(), textBox->len());
112 const Vector<SVGTextFragment>& fragments = textBox->textFragments();
119 if (!textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, fragmentStartPosition, fragmentEndPosition))
122 FloatRect fragmentRect = textBox->selectionRectForTextFragment(fragment, fragmentStartPosition, fragmentEndPosition, &style);
H A DSVGTextChunk.cpp39 SVGInlineTextBox* textBox = m_boxes.at(boxPosition); local
40 Vector<SVGTextFragment>& fragments = textBox->textFragments();
H A DSVGRootInlineBox.cpp109 SVGInlineTextBox* textBox = toSVGInlineTextBox(child); local
110 characterLayout.layoutInlineTextBox(textBox);
145 SVGInlineTextBox* textBox = toSVGInlineTextBox(child); local
146 boxRect = textBox->calculateBoundaries();
147 textBox->setX(boxRect.x());
148 textBox->setY(boxRect.y());
149 textBox->setLogicalWidth(boxRect.width());
150 textBox->setLogicalHeight(boxRect.height());
H A DSVGTextQuery.cpp40 , textBox(0)
47 const SVGInlineTextBox* textBox; member in struct:WebCore::SVGTextQuery::Data
114 queryData->textBox = m_textBoxes.at(textBoxPosition);
115 queryData->textRenderer = &queryData->textBox->renderer();
118 const Vector<SVGTextFragment>& fragments = queryData->textBox->textFragments();
146 if (!queryData->textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endPosition))
157 unsigned boxStart = queryData->textBox->start();
158 unsigned boxLength = queryData->textBox->len();
H A DSVGRenderTreeAsText.cpp380 static inline void writeSVGInlineTextBox(TextStream& ts, SVGInlineTextBox* textBox, int indent) argument
382 Vector<SVGTextFragment>& fragments = textBox->textFragments();
386 const SVGRenderStyle& svgStyle = textBox->renderer().style().svgStyle();
387 String text = textBox->renderer().text();
413 startOffset -= textBox->start();
414 endOffset -= textBox->start();
424 if (!textBox->isLeftToRightDirection() || textBox->dirOverride()) {
425 ts << (textBox->isLeftToRightDirection() ? " LTR" : " RTL");
426 if (textBox
[all...]
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Views/
H A DProbeSetDetailsSection.js110 var textBox = content.createChild("input"); variable
111 textBox.addEventListener("keypress", createProbeFromEnteredExpression.bind(this, popover));
112 textBox.addEventListener("click", function (event) {event.target.select()});
113 textBox.type = "text";
114 textBox.placeholder = WebInspector.UIString("Expression");
118 textBox.select();
/macosx-10.10/tcl-105/tcl_ext/tklib/tklib/modules/tkpiechart/
H A Dcanlabel.tcl155 set textBox [$canvas bbox $text]
156 set textWidth [expr {[lindex $textBox 2] - [lindex $textBox 0]}]
165 (([lindex $textBox 3] - [lindex $textBox 1]) / 2.0) + $border\
/macosx-10.10/WebCore-7600.1.25/editing/
H A DVisibleUnits.cpp204 static const InlineBox* logicallyPreviousBox(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, argument
207 const InlineBox* startBox = textBox;
209 const InlineBox* previousBox = leafBoxes.previousTextOrLineBreakBox(&startBox->root(), textBox);
245 static const InlineBox* logicallyNextBox(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, argument
248 const InlineBox* startBox = textBox;
250 const InlineBox* nextBox = leafBoxes.nextTextOrLineBreakBox(&startBox->root(), textBox);
285 static TextBreakIterator* wordBreakIteratorForMinOffsetBoundary(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, argument
291 const InlineBox* previousBox = logicallyPreviousBox(visiblePosition, textBox, previousBoxInDifferentBlock, leafBoxes);
300 append(string, StringView(textBox->renderer().text()).substring(textBox
305 wordBreakIteratorForMaxOffsetBoundary(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, bool& nextBoxInDifferentBlock, Vector<UChar, 1024>& string, CachedLogicallyOrderedLeafBoxes& leafBoxes) argument
372 InlineTextBox* textBox = toInlineTextBox(box); local
[all...]
H A DCompositeEditCommand.cpp807 for (InlineTextBox* textBox = textRenderer->firstTextBox(); textBox; textBox = textBox->nextTextBox())
808 sortedTextBoxes.append(textBox);
H A DTextIterator.cpp592 for (InlineTextBox* textBox = boxesRenderer.firstTextBox(); textBox; textBox = textBox->nextTextBox())
593 m_sortedTextBoxes.append(textBox);
/macosx-10.10/WebCore-7600.1.25/rendering/
H A DRenderTextLineBoxes.cpp45 auto textBox = renderText.createTextBox(); local
47 m_first = textBox.get();
48 m_last = textBox.get();
50 m_last->setNextTextBox(textBox.get());
51 textBox->setPreviousTextBox(m_last);
52 m_last = textBox.get();
54 return textBox.release();
H A DRenderLineBoxList.cpp351 InlineTextBox* textBox = toRenderText(curr)->lastTextBox(); local
352 if (textBox)
353 box = &textBox->root();
H A DRenderText.cpp1134 void RenderText::positionLineBox(InlineTextBox& textBox) argument
1137 if (!textBox.len()) {
1139 textBox.removeFromParent();
1140 m_lineBoxes.remove(textBox);
1141 delete &textBox;
1145 m_containsReversedText |= !textBox.isLeftToRightDirection();
H A DInlineFlowBox.cpp842 inline void InlineFlowBox::addTextBoxVisualOverflow(InlineTextBox& textBox, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, LayoutRect& logicalVisualOverflow) argument
844 if (textBox.knownToHaveNoOverflow())
849 GlyphOverflowAndFallbackFontsMap::iterator it = textBoxDataMap.find(&textBox);
865 if (lineStyle.textEmphasisMark() != TextEmphasisMarkNone && textBox.emphasisMarkExistsAndIsAbove(lineStyle, emphasisMarkIsAbove)) {
891 LayoutUnit logicalTopVisualOverflow = std::min(textBox.pixelSnappedLogicalTop() + childOverflowLogicalTop, logicalVisualOverflow.y());
892 LayoutUnit logicalBottomVisualOverflow = std::max(textBox.pixelSnappedLogicalBottom() + childOverflowLogicalBottom, logicalVisualOverflow.maxY());
893 LayoutUnit logicalLeftVisualOverflow = std::min(textBox.pixelSnappedLogicalLeft() + childOverflowLogicalLeft, logicalVisualOverflow.x());
894 LayoutUnit logicalRightVisualOverflow = std::max(textBox.pixelSnappedLogicalRight() + childOverflowLogicalRight, logicalVisualOverflow.maxX());
899 textBox.setLogicalOverflowRect(logicalVisualOverflow);
H A DRenderBlockFlow.cpp3223 InlineTextBox* textBox = toInlineTextBox(box);
3224 return createLegacyEditingPosition(box->renderer().nonPseudoNode(), start ? textBox->start() : textBox->start() + textBox->len());
H A DRenderBlockLineLayout.cpp558 InlineTextBox* textBox = toInlineTextBox(r->box()); local
560 textBox->setExpansion(expansion);
/macosx-10.10/tcl-105/tk/tk/generic/ttk/
H A DttkLabel.c588 Ttk_Box textBox = local
591 TextDraw(&l->text,tkwin,d,textBox);

Completed in 244 milliseconds