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

  /external/jmonkeyengine/engine/src/core/com/jme3/font/
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...]
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);
  /external/webkit/Source/WebCore/rendering/svg/
SVGTextLayoutEngine.cpp 122 void SVGTextLayoutEngine::recordTextFragment(SVGInlineTextBox* textBox, Vector<SVGTextMetrics>& textMetricsValues)
149 textBox->textFragments().append(m_currentTextFragment);
239 void SVGTextLayoutEngine::layoutInlineTextBox(SVGInlineTextBox* textBox)
241 ASSERT(textBox);
243 RenderSVGInlineText* text = toRenderSVGInlineText(textBox->textRenderer());
252 textBox->clearTextFragments();
254 layoutTextOnLineOrPath(textBox, text, style);
257 m_pathLayoutBoxes.append(textBox);
261 m_lineLayoutBoxes.append(textBox);
271 SVGInlineTextBox* textBox = boxes.at(boxPosition)
    [all...]
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 IntRect rect = textBox->selectionRect(0, 0, caretOffset, caretOffset + 1);
124 IntRect rect = textBox->selectionRect(0, 0, caretOffset - 1, caretOffset);
195 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(box);
196 Vector<SVGTextFragment>& fragments = textBox->textFragments()
    [all...]
SVGTextChunkBuilder.cpp 35 void SVGTextChunkBuilder::transformationForTextBox(SVGInlineTextBox* textBox, AffineTransform& transform) const
38 if (!m_textBoxTransformations.contains(textBox)) {
43 transform = m_textBoxTransformations.get(textBox);
56 SVGInlineTextBox* textBox = lineLayoutBoxes[boxPosition];
57 if (!textBox->startsNewTextChunk())
92 SVGInlineTextBox* textBox = lineLayoutBoxes[boxStart];
93 ASSERT(textBox);
95 RenderSVGInlineText* textRenderer = toRenderSVGInlineText(textBox->textRenderer());
188 SVGInlineTextBox* textBox = boxes[boxPosition];
189 Vector<SVGTextFragment>& fragments = textBox->textFragments()
    [all...]
SVGInlineFlowBox.cpp 111 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(box);
113 int markerStartPosition = max<int>(marker.startOffset - textBox->start(), 0);
114 int markerEndPosition = min<int>(marker.endOffset - textBox->start(), textBox->len());
122 const Vector<SVGTextFragment>& fragments = textBox->textFragments();
129 if (!textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, fragmentStartPosition, fragmentEndPosition))
132 FloatRect fragmentRect = textBox->selectionRectForTextFragment(fragment, fragmentStartPosition, fragmentEndPosition, style);
SVGTextChunk.cpp 42 SVGInlineTextBox* textBox = m_boxes.at(boxPosition);
43 Vector<SVGTextFragment>& fragments = textBox->textFragments();
SVGRootInlineBox.cpp 103 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(child);
104 characterLayout.layoutInlineTextBox(textBox);
142 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(child);
143 IntRect boxRect = textBox->calculateBoundaries();
144 textBox->setX(boxRect.x());
145 textBox->setY(boxRect.y());
146 textBox->setLogicalWidth(boxRect.width());
147 textBox->setLogicalHeight(boxRect.height());
SVGTextQuery.cpp 43 , textBox(0)
50 const SVGInlineTextBox* textBox;
117 queryData->textBox = m_textBoxes.at(textBoxPosition);
118 queryData->textRenderer = toRenderSVGInlineText(queryData->textBox->textRenderer());
124 const Vector<SVGTextFragment>& fragments = queryData->textBox->textFragments();
152 if (!queryData->textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endPosition))
165 unsigned boxStart = queryData->textBox->start();
166 unsigned boxLength = queryData->textBox->len();
SVGRenderTreeAsText.cpp 450 static inline void writeSVGInlineTextBox(TextStream& ts, SVGInlineTextBox* textBox, int indent)
452 Vector<SVGTextFragment>& fragments = textBox->textFragments();
456 RenderSVGInlineText* textRenderer = toRenderSVGInlineText(textBox->textRenderer());
460 String text = textBox->textRenderer()->text();
486 startOffset -= textBox->start();
487 endOffset -= textBox->start();
497 if (!textBox->isLeftToRightDirection() || textBox->m_dirOverride) {
498 ts << (textBox->isLeftToRightDirection() ? " LTR" : " RTL");
499 if (textBox->m_dirOverride
    [all...]
  /external/webkit/Source/WebCore/rendering/
RenderLineBoxList.cpp 346 InlineTextBox* textBox = toRenderText(curr)->lastTextBox();
347 if (textBox)
348 box = textBox->root();
InlineFlowBox.cpp     [all...]
RenderText.cpp     [all...]
RenderBlockLineLayout.cpp 181 InlineTextBox* textBox = toRenderText(obj)->createInlineTextBox();
185 textBox->setIsText(isOnlyRun || obj->document()->inNoQuirksMode());
186 return textBox;
592 InlineTextBox* textBox = static_cast<InlineTextBox*>(r->m_box);
594 textBox->setExpansion(expansion);
    [all...]
RenderBlock.cpp     [all...]
  /external/webkit/Source/WebCore/editing/
CompositeEditCommand.cpp 532 for (InlineTextBox* textBox = textRenderer->firstTextBox(); textBox; textBox = textBox->nextTextBox())
533 sortedTextBoxes.append(textBox);
    [all...]
TextIterator.cpp 544 for (InlineTextBox* textBox = renderer->firstTextBox(); textBox; textBox = textBox->nextTextBox()) {
545 m_sortedTextBoxes.append(textBox);
    [all...]

Completed in 146 milliseconds