HomeSort by relevance Sort by last modified time
    Searched defs:textBox (Results 1 - 13 of 13) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextChunk.cpp 41 SVGInlineTextBox* textBox = m_boxes.at(boxPosition);
42 Vector<SVGTextFragment>& fragments = textBox->textFragments();
SVGTextQuery.cpp 41 , textBox(0)
48 const SVGInlineTextBox* textBox;
115 queryData->textBox = m_textBoxes.at(textBoxPosition);
116 queryData->textRenderer = toRenderSVGInlineText(queryData->textBox->textRenderer());
122 const Vector<SVGTextFragment>& fragments = queryData->textBox->textFragments();
150 if (!queryData->textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endPosition))
161 unsigned boxStart = queryData->textBox->start();
162 unsigned boxLength = queryData->textBox->len();
SVGInlineFlowBox.cpp 108 SVGInlineTextBox* textBox = toSVGInlineTextBox(box);
110 int markerStartPosition = max<int>(marker->startOffset() - textBox->start(), 0);
111 int markerEndPosition = min<int>(marker->endOffset() - textBox->start(), textBox->len());
119 const Vector<SVGTextFragment>& fragments = textBox->textFragments();
126 if (!textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, fragmentStartPosition, fragmentEndPosition))
129 FloatRect fragmentRect = textBox->selectionRectForTextFragment(fragment, fragmentStartPosition, fragmentEndPosition, style);
RenderSVGInlineText.cpp 113 InlineTextBox* textBox = static_cast<InlineTextBox*>(box);
114 if (static_cast<unsigned>(caretOffset) < textBox->start() || static_cast<unsigned>(caretOffset) > textBox->start() + textBox->len())
118 if (static_cast<unsigned>(caretOffset) < textBox->start() + textBox->len()) {
119 LayoutRect rect = textBox->localSelectionRect(caretOffset, caretOffset + 1);
124 LayoutRect rect = textBox->localSelectionRect(caretOffset - 1, caretOffset);
182 SVGInlineTextBox* textBox = toSVGInlineTextBox(box);
183 Vector<SVGTextFragment>& fragments = textBox->textFragments()
    [all...]
SVGTextChunkBuilder.cpp 34 void SVGTextChunkBuilder::transformationForTextBox(SVGInlineTextBox* textBox, AffineTransform& transform) const
37 if (!m_textBoxTransformations.contains(textBox)) {
42 transform = m_textBoxTransformations.get(textBox);
55 SVGInlineTextBox* textBox = lineLayoutBoxes[boxPosition];
56 if (!textBox->startsNewTextChunk())
91 SVGInlineTextBox* textBox = lineLayoutBoxes[boxStart];
92 ASSERT(textBox);
94 RenderSVGInlineText* textRenderer = toRenderSVGInlineText(textBox->textRenderer());
188 SVGInlineTextBox* textBox = boxes[boxPosition];
189 Vector<SVGTextFragment>& fragments = textBox->textFragments()
    [all...]
SVGRootInlineBox.cpp 142 SVGInlineTextBox* textBox = toSVGInlineTextBox(child);
143 boxRect = textBox->calculateBoundaries();
144 textBox->setX(boxRect.x());
145 textBox->setY(boxRect.y());
146 textBox->setLogicalWidth(boxRect.width());
147 textBox->setLogicalHeight(boxRect.height());
SVGTextLayoutEngine.cpp 114 void SVGTextLayoutEngine::recordTextFragment(SVGInlineTextBox* textBox, Vector<SVGTextMetrics>& textMetricsValues)
141 textBox->textFragments().append(m_currentTextFragment);
233 void SVGTextLayoutEngine::layoutInlineTextBox(SVGInlineTextBox* textBox)
235 ASSERT(textBox);
237 RenderSVGInlineText* text = toRenderSVGInlineText(textBox->textRenderer());
246 textBox->clearTextFragments();
248 layoutTextOnLineOrPath(textBox, text, style);
251 m_pathLayoutBoxes.append(textBox);
255 m_lineLayoutBoxes.append(textBox);
265 SVGInlineTextBox* textBox = boxes.at(boxPosition)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderLineBoxList.cpp 308 InlineTextBox* textBox = toRenderText(curr)->lastTextBox();
309 if (textBox)
310 box = textBox->root();
RenderText.cpp     [all...]
RenderBlockLineLayout.cpp 479 InlineTextBox* textBox = toRenderText(obj)->createInlineTextBox();
483 textBox->setIsText(isOnlyRun || obj->document()->inNoQuirksMode());
484 return textBox;
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/font/
BitmapText.java 172 Rectangle textBox = block.getTextBox();
173 if (textBox != null) {
174 return Math.max(height, textBox.height);
186 Rectangle textBox = block.getTextBox();
187 if (textBox != null) {
188 return Math.max(letters.getTotalWidth(), textBox.width);
StringBlock.java 48 private Rectangle textBox;
63 * @param textBox the rectangle that constrains the text
69 StringBlock(String text, Rectangle textBox, BitmapFont.Align alignment, float size, ColorRGBA color,
72 this.textBox = textBox;
81 this.textBox = null;
93 if (textBox != null)
94 clone.textBox = textBox.clone();
110 return textBox;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/editing/
VisibleUnits.cpp 205 static const InlineTextBox* logicallyPreviousBox(const VisiblePosition& visiblePosition, const InlineTextBox* textBox,
208 const InlineBox* startBox = textBox;
210 const InlineTextBox* previousBox = leafBoxes.previousTextBox(startBox->root(), textBox);
246 static const InlineTextBox* logicallyNextBox(const VisiblePosition& visiblePosition, const InlineTextBox* textBox,
249 const InlineBox* startBox = textBox;
251 const InlineTextBox* nextBox = leafBoxes.nextTextBox(startBox->root(), textBox);
286 static TextBreakIterator* wordBreakIteratorForMinOffsetBoundary(const VisiblePosition& visiblePosition, const InlineTextBox* textBox,
292 const InlineTextBox* previousBox = logicallyPreviousBox(visiblePosition, textBox, previousBoxInDifferentBlock, leafBoxes);
301 textBox->textRenderer()->text().appendTo(string, textBox->start(), textBox->len())
    [all...]

Completed in 1265 milliseconds