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

/external/jmonkeyengine/engine/src/core/com/jme3/font/
H A DStringBlock.java48 private Rectangle textBox; field in class:StringBlock
63 * @param textBox the rectangle that constrains the text
69 StringBlock(String text, Rectangle textBox, BitmapFont.Align alignment, float size, ColorRGBA color, argument
72 this.textBox = textBox;
81 this.textBox = null;
93 if (textBox != null)
94 clone.textBox = textBox.clone();
110 return textBox;
113 setTextBox(Rectangle textBox) argument
[all...]
H A DBitmapText.java172 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/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextLayoutEngine.cpp114 void SVGTextLayoutEngine::recordTextFragment(SVGInlineTextBox* textBox, Vector<SVGTextMetrics>& textMetricsValues) argument
141 textBox->textFragments().append(m_currentTextFragment);
233 void SVGTextLayoutEngine::layoutInlineTextBox(SVGInlineTextBox* textBox) argument
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 local
292 SVGInlineTextBox* textBox = boxes.at(boxPosition); local
385 currentVisualCharacterMetrics(SVGInlineTextBox* textBox, Vector<SVGTextMetrics>& visualMetricsValues, SVGTextMetrics& visualMetrics) argument
422 layoutTextOnLineOrPath(SVGInlineTextBox* textBox, RenderSVGInlineText* text, const RenderStyle* style) argument
[all...]
H A DRenderSVGInlineText.cpp112 InlineTextBox* textBox = toInlineTextBox(box);
113 if (static_cast<unsigned>(caretOffset) < textBox->start() || static_cast<unsigned>(caretOffset) > textBox->start() + textBox->len())
117 if (static_cast<unsigned>(caretOffset) < textBox->start() + textBox->len()) {
118 LayoutRect rect = textBox->localSelectionRect(caretOffset, caretOffset + 1);
123 LayoutRect rect = textBox->localSelectionRect(caretOffset - 1, caretOffset);
181 SVGInlineTextBox* textBox = toSVGInlineTextBox(box); local
182 Vector<SVGTextFragment>& fragments = textBox
[all...]
H A DSVGTextChunkBuilder.cpp34 void SVGTextChunkBuilder::transformationForTextBox(SVGInlineTextBox* textBox, AffineTransform& transform) const argument
37 if (!m_textBoxTransformations.contains(textBox)) {
42 transform = m_textBoxTransformations.get(textBox);
55 SVGInlineTextBox* textBox = lineLayoutBoxes[boxPosition]; local
56 if (!textBox->startsNewTextChunk())
91 SVGInlineTextBox* textBox = lineLayoutBoxes[boxStart]; local
92 ASSERT(textBox);
94 RenderSVGInlineText* textRenderer = toRenderSVGInlineText(textBox->textRenderer());
188 SVGInlineTextBox* textBox = boxes[boxPosition]; local
189 Vector<SVGTextFragment>& fragments = textBox
[all...]
H A DSVGInlineFlowBox.cpp108 SVGInlineTextBox* textBox = toSVGInlineTextBox(box); local
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);
H A DSVGTextChunk.cpp41 SVGInlineTextBox* textBox = m_boxes.at(boxPosition); local
42 Vector<SVGTextFragment>& fragments = textBox->textFragments();
H A DSVGRootInlineBox.cpp142 SVGInlineTextBox* textBox = toSVGInlineTextBox(child); local
143 boxRect = textBox->calculateBoundaries();
144 textBox->setX(boxRect.x());
145 textBox->setY(boxRect.y());
146 textBox->setLogicalWidth(boxRect.width());
147 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 = toRenderSVGInlineText(queryData->textBox->textRenderer());
121 const Vector<SVGTextFragment>& fragments = queryData->textBox->textFragments();
149 if (!queryData->textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endPosition))
160 unsigned boxStart = queryData->textBox->start();
161 unsigned boxLength = queryData->textBox->len();
H A DSVGRenderTreeAsText.cpp377 static inline void writeSVGInlineTextBox(TextStream& ts, SVGInlineTextBox* textBox, int indent) argument
379 Vector<SVGTextFragment>& fragments = textBox->textFragments();
383 RenderSVGInlineText* textRenderer = toRenderSVGInlineText(textBox->textRenderer());
387 String text = textBox->textRenderer()->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...]
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DVisibleUnits.cpp205 static const InlineTextBox* logicallyPreviousBox(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, argument
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, argument
249 const InlineBox* startBox = textBox;
251 const InlineTextBox* nextBox = leafBoxes.nextTextBox(startBox->root(), textBox);
286 static TextBreakIterator* wordBreakIteratorForMinOffsetBoundary(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, argument
292 const InlineTextBox* previousBox = logicallyPreviousBox(visiblePosition, textBox, previousBoxInDifferentBlock, leafBoxes);
301 textBox->textRenderer()->text().appendTo(string, textBox
307 wordBreakIteratorForMaxOffsetBoundary(const VisiblePosition& visiblePosition, const InlineTextBox* textBox, bool& nextBoxInDifferentBlock, Vector<UChar, 1024>& string, CachedLogicallyOrderedLeafBoxes& leafBoxes) argument
376 InlineTextBox* textBox = toInlineTextBox(box); local
[all...]
H A DCompositeEditCommand.cpp757 for (InlineTextBox* textBox = textRenderer->firstTextBox(); textBox; textBox = textBox->nextTextBox())
758 sortedTextBoxes.append(textBox);
H A DTextIterator.cpp602 for (InlineTextBox* textBox = renderer->firstTextBox(); textBox; textBox = textBox->nextTextBox()) {
603 m_sortedTextBoxes.append(textBox);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderText.cpp310 for (InlineTextBox* textBox = firstTextBox(); textBox; textBox = textBox->nextTextBox()) {
311 String text = m_text.substring(textBox->start(), textBox->len()).simplifyWhiteSpace(WTF::DoNotStripWhiteSpace);
313 if (textBox->nextTextBox() && textBox->nextTextBox()->start() > textBox->end() && text.length() && !text.right(1).containsOnlyWhitespace())
1413 InlineTextBox* textBox local
[all...]
H A DRenderLineBoxList.cpp309 InlineTextBox* textBox = toRenderText(curr)->lastTextBox(); local
310 if (textBox)
311 box = textBox->root();
H A DInlineFlowBox.cpp832 inline void InlineFlowBox::addTextBoxVisualOverflow(InlineTextBox* textBox, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, LayoutRect& logicalVisualOverflow) argument
834 if (textBox->knownToHaveNoOverflow())
837 RenderStyle* style = textBox->renderer()->style(isFirstLineStyle());
839 GlyphOverflowAndFallbackFontsMap::iterator it = textBoxDataMap.find(textBox);
855 if (style->textEmphasisMark() != TextEmphasisMarkNone && textBox->getEmphasisMarkPosition(style, emphasisMarkPosition)) {
881 LayoutUnit logicalTopVisualOverflow = min(textBox->pixelSnappedLogicalTop() + childOverflowLogicalTop, logicalVisualOverflow.y());
882 LayoutUnit logicalBottomVisualOverflow = max(textBox->pixelSnappedLogicalBottom() + childOverflowLogicalBottom, logicalVisualOverflow.maxY());
883 LayoutUnit logicalLeftVisualOverflow = min(textBox->pixelSnappedLogicalLeft() + childOverflowLogicalLeft, logicalVisualOverflow.x());
884 LayoutUnit logicalRightVisualOverflow = max(textBox->pixelSnappedLogicalRight() + childOverflowLogicalRight, logicalVisualOverflow.maxX());
889 textBox
[all...]
H A DRenderBlockLineLayout.cpp141 InlineTextBox* textBox = toRenderText(obj)->createInlineTextBox(); local
145 textBox->setIsText(isOnlyRun || obj->document().inNoQuirksMode());
146 return textBox;
555 InlineTextBox* textBox = toInlineTextBox(r->m_box); local
557 textBox->setExpansion(expansion);
H A DRenderBlock.cpp3275 InlineTextBox* textBox = toInlineTextBox(box);
3276 return createLegacyEditingPosition(box->renderer()->nonPseudoNode(), start ? textBox->start() : textBox->start() + textBox->len());
/external/chromium_org/chrome/third_party/chromevox/
H A DchromeVoxChromeBackgroundScript.js1500 b=document.createElement("DIV"),g=document.createElement("A");g.name="page"+a;b.style.position="relative";b.style.background="white";b.style.margin="auto";b.style.marginTop="20pt";b.style.marginBottom="20pt";b.style.height=d.height+"pt";b.style.width=d.width+"pt";b.style.boxShadow="0pt 0pt 10pt #333";for(var d=d.textBox,q=0;q<d.length;q++){var n=d[q],s=document.createElement("Span");s.style.position="absolute";s.style.left=n.left+"pt";s.style.top=n.top+"pt";s.style.fontSize=0.8*n.height+"pt";for(var u=

Completed in 566 milliseconds