Home
last modified time | relevance | path

Searched refs:textBox (Results 1 – 18 of 18) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/font/
DStringBlock.java48 private Rectangle textBox; field in StringBlock
69 …StringBlock(String text, Rectangle textBox, BitmapFont.Align alignment, float size, ColorRGBA colo… in StringBlock() argument
72 this.textBox = textBox; in StringBlock()
81 this.textBox = null; in StringBlock()
93 if (textBox != null) in clone()
94 clone.textBox = textBox.clone(); in clone()
110 return textBox; in getTextBox()
113 void setTextBox(Rectangle textBox) { in setTextBox() argument
114 this.textBox = textBox; in setTextBox()
DBitmapText.java172 Rectangle textBox = block.getTextBox(); in getHeight() local
173 if (textBox != null) { in getHeight()
174 return Math.max(height, textBox.height); in getHeight()
186 Rectangle textBox = block.getTextBox(); in getLineWidth() local
187 if (textBox != null) { in getLineWidth()
188 return Math.max(letters.getTotalWidth(), textBox.width); in getLineWidth()
/external/webkit/Source/WebCore/rendering/svg/
DSVGTextLayoutEngine.cpp122 void SVGTextLayoutEngine::recordTextFragment(SVGInlineTextBox* textBox, Vector<SVGTextMetrics>& tex… in recordTextFragment() argument
149 textBox->textFragments().append(m_currentTextFragment); in recordTextFragment()
239 void SVGTextLayoutEngine::layoutInlineTextBox(SVGInlineTextBox* textBox) in layoutInlineTextBox() argument
241 ASSERT(textBox); in layoutInlineTextBox()
243 RenderSVGInlineText* text = toRenderSVGInlineText(textBox->textRenderer()); in layoutInlineTextBox()
252 textBox->clearTextFragments(); in layoutInlineTextBox()
254 layoutTextOnLineOrPath(textBox, text, style); in layoutInlineTextBox()
257 m_pathLayoutBoxes.append(textBox); in layoutInlineTextBox()
261 m_lineLayoutBoxes.append(textBox); in layoutInlineTextBox()
271 SVGInlineTextBox* textBox = boxes.at(boxPosition); in dumpTextBoxes() local
[all …]
DSVGTextChunkBuilder.cpp35 void SVGTextChunkBuilder::transformationForTextBox(SVGInlineTextBox* textBox, AffineTransform& tran… in transformationForTextBox() argument
38 if (!m_textBoxTransformations.contains(textBox)) { in transformationForTextBox()
43 transform = m_textBoxTransformations.get(textBox); in transformationForTextBox()
56 SVGInlineTextBox* textBox = lineLayoutBoxes[boxPosition]; in buildTextChunks() local
57 if (!textBox->startsNewTextChunk()) in buildTextChunks()
92 SVGInlineTextBox* textBox = lineLayoutBoxes[boxStart]; in addTextChunk() local
93 ASSERT(textBox); in addTextChunk()
95 RenderSVGInlineText* textRenderer = toRenderSVGInlineText(textBox->textRenderer()); in addTextChunk()
188 SVGInlineTextBox* textBox = boxes[boxPosition]; in processTextChunk() local
189 Vector<SVGTextFragment>& fragments = textBox->textFragments(); in processTextChunk()
[all …]
DRenderSVGInlineText.cpp113 InlineTextBox* textBox = static_cast<InlineTextBox*>(box); in localCaretRect() local
114 …atic_cast<unsigned>(caretOffset) < textBox->start() || static_cast<unsigned>(caretOffset) > textBo… in localCaretRect()
118 if (static_cast<unsigned>(caretOffset) < textBox->start() + textBox->len()) { in localCaretRect()
119 IntRect rect = textBox->selectionRect(0, 0, caretOffset, caretOffset + 1); in localCaretRect()
124 IntRect rect = textBox->selectionRect(0, 0, caretOffset - 1, caretOffset); in localCaretRect()
195 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(box); in positionForPoint() local
196 Vector<SVGTextFragment>& fragments = textBox->textFragments(); in positionForPoint()
211 closestDistanceBox = textBox; in positionForPoint()
DSVGInlineFlowBox.cpp111 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(box); in computeTextMatchMarkerRectForRenderer() local
113 int markerStartPosition = max<int>(marker.startOffset - textBox->start(), 0); in computeTextMatchMarkerRectForRenderer()
114 int markerEndPosition = min<int>(marker.endOffset - textBox->start(), textBox->len()); in computeTextMatchMarkerRectForRenderer()
122 const Vector<SVGTextFragment>& fragments = textBox->textFragments(); in computeTextMatchMarkerRectForRenderer()
129 …if (!textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, fragmentStartPosition, fragmen… in computeTextMatchMarkerRectForRenderer()
132 …FloatRect fragmentRect = textBox->selectionRectForTextFragment(fragment, fragmentStartPosition, fr… in computeTextMatchMarkerRectForRenderer()
DSVGRootInlineBox.cpp103 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(child); in layoutCharactersInTextBoxes() local
104 characterLayout.layoutInlineTextBox(textBox); in layoutCharactersInTextBoxes()
142 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(child); in layoutChildBoxes() local
143 IntRect boxRect = textBox->calculateBoundaries(); in layoutChildBoxes()
144 textBox->setX(boxRect.x()); in layoutChildBoxes()
145 textBox->setY(boxRect.y()); in layoutChildBoxes()
146 textBox->setLogicalWidth(boxRect.width()); in layoutChildBoxes()
147 textBox->setLogicalHeight(boxRect.height()); in layoutChildBoxes()
DSVGTextQuery.cpp43 , textBox(0) in Data()
50 const SVGInlineTextBox* textBox; member
117 queryData->textBox = m_textBoxes.at(textBoxPosition); in executeQuery()
118 queryData->textRenderer = toRenderSVGInlineText(queryData->textBox->textRenderer()); in executeQuery()
124 const Vector<SVGTextFragment>& fragments = queryData->textBox->textFragments(); in executeQuery()
152 …if (!queryData->textBox->mapStartEndPositionsIntoFragmentCoordinates(fragment, startPosition, endP… in mapStartEndPositionsIntoFragmentCoordinates()
165 unsigned boxStart = queryData->textBox->start(); in modifyStartEndPositionsRespectingLigatures()
166 unsigned boxLength = queryData->textBox->len(); in modifyStartEndPositionsRespectingLigatures()
DSVGRenderTreeAsText.cpp450 static inline void writeSVGInlineTextBox(TextStream& ts, SVGInlineTextBox* textBox, int indent) in writeSVGInlineTextBox() argument
452 Vector<SVGTextFragment>& fragments = textBox->textFragments(); in writeSVGInlineTextBox()
456 RenderSVGInlineText* textRenderer = toRenderSVGInlineText(textBox->textRenderer()); in writeSVGInlineTextBox()
460 String text = textBox->textRenderer()->text(); in writeSVGInlineTextBox()
486 startOffset -= textBox->start(); in writeSVGInlineTextBox()
487 endOffset -= textBox->start(); in writeSVGInlineTextBox()
497 if (!textBox->isLeftToRightDirection() || textBox->m_dirOverride) { in writeSVGInlineTextBox()
498 ts << (textBox->isLeftToRightDirection() ? " LTR" : " RTL"); in writeSVGInlineTextBox()
499 if (textBox->m_dirOverride) in writeSVGInlineTextBox()
DSVGTextChunk.cpp42 SVGInlineTextBox* textBox = m_boxes.at(boxPosition); in calculateLength() local
43 Vector<SVGTextFragment>& fragments = textBox->textFragments(); in calculateLength()
/external/webkit/Source/WebCore/rendering/
DRenderLineBoxList.cpp346 InlineTextBox* textBox = toRenderText(curr)->lastTextBox(); in dirtyLinesFromChangedChild() local
347 if (textBox) in dirtyLinesFromChangedChild()
348 box = textBox->root(); in dirtyLinesFromChangedChild()
DInlineFlowBox.cpp745 inline void InlineFlowBox::addTextBoxVisualOverflow(InlineTextBox* textBox, GlyphOverflowAndFallbac… in addTextBoxVisualOverflow() argument
747 if (textBox->knownToHaveNoOverflow()) in addTextBoxVisualOverflow()
750 RenderStyle* style = textBox->renderer()->style(m_firstLine); in addTextBoxVisualOverflow()
752 GlyphOverflowAndFallbackFontsMap::iterator it = textBoxDataMap.find(textBox); in addTextBoxVisualOverflow()
768 …if (style->textEmphasisMark() != TextEmphasisMarkNone && textBox->getEmphasisMarkPosition(style, e… in addTextBoxVisualOverflow()
794 …int logicalTopVisualOverflow = min(textBox->logicalTop() + childOverflowLogicalTop, logicalVisualO… in addTextBoxVisualOverflow()
795 …int logicalBottomVisualOverflow = max(textBox->logicalBottom() + childOverflowLogicalBottom, logic… in addTextBoxVisualOverflow()
796 …int logicalLeftVisualOverflow = min(textBox->pixelSnappedLogicalLeft() + childOverflowLogicalLeft,… in addTextBoxVisualOverflow()
797 …int logicalRightVisualOverflow = max(textBox->pixelSnappedLogicalRight() + childOverflowLogicalRig… in addTextBoxVisualOverflow()
802 textBox->setLogicalOverflowRect(logicalVisualOverflow); in addTextBoxVisualOverflow()
DRenderText.cpp1264 InlineTextBox* textBox = createTextBox(); in createInlineTextBox() local
1266 m_firstTextBox = m_lastTextBox = textBox; in createInlineTextBox()
1268 m_lastTextBox->setNextTextBox(textBox); in createInlineTextBox()
1269 textBox->setPreviousTextBox(m_lastTextBox); in createInlineTextBox()
1270 m_lastTextBox = textBox; in createInlineTextBox()
1272 textBox->setIsText(true); in createInlineTextBox()
1273 return textBox; in createInlineTextBox()
DRenderBlockLineLayout.cpp181 InlineTextBox* textBox = toRenderText(obj)->createInlineTextBox(); in createInlineBoxForRenderer() local
185 textBox->setIsText(isOnlyRun || obj->document()->inNoQuirksMode()); in createInlineBoxForRenderer()
186 return textBox; in createInlineBoxForRenderer()
592 InlineTextBox* textBox = static_cast<InlineTextBox*>(r->m_box); in computeInlineDirectionPositionsForLine() local
594 textBox->setExpansion(expansion); in computeInlineDirectionPositionsForLine()
DRenderBlock.cpp4130 InlineTextBox *textBox = static_cast<InlineTextBox *>(box); in positionForBox() local
4131 …return Position(box->renderer()->node(), start ? textBox->start() : textBox->start() + textBox->le… in positionForBox()
/external/webkit/Source/WebCore/editing/
DCompositeEditCommand.cpp532 …for (InlineTextBox* textBox = textRenderer->firstTextBox(); textBox; textBox = textBox->nextTextBo… in deleteInsignificantText() local
533 sortedTextBoxes.append(textBox); in deleteInsignificantText()
DTextIterator.cpp541 …for (InlineTextBox* textBox = renderer->firstTextBox(); textBox; textBox = textBox->nextTextBox())… in handleTextNode() local
542 m_sortedTextBoxes.append(textBox); in handleTextNode()
/external/skia/src/animator/
DSkAnimateSchema.xsd1033 <xs:element ref="Sk:textBox"/>
1373 <xs:element ref="Sk:textBox"/>
1485 <xs:element ref="Sk:textBox"/>
1609 <xs:element ref="Sk:textBox"/>
2489 <xs:element ref="Sk:textBox"/>
2567 <xs:element ref="Sk:textBox"/>
2682 <!-- /** textBox
2685 <xs:element name="textBox" >