/external/webkit/Source/WebCore/rendering/svg/ |
H A D | SVGTextChunk.cpp | 42 SVGInlineTextBox* textBox = m_boxes.at(boxPosition); local 43 Vector<SVGTextFragment>& fragments = textBox->textFragments();
|
H A D | SVGInlineFlowBox.cpp | 111 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(box); local 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);
|
H A D | SVGTextQuery.cpp | 43 , textBox(0) 50 const SVGInlineTextBox* textBox; member in struct:WebCore::SVGTextQuery::Data 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();
|
H A D | SVGTextChunkBuilder.cpp | 35 void SVGTextChunkBuilder::transformationForTextBox(SVGInlineTextBox* textBox, AffineTransform& transform) const argument 38 if (!m_textBoxTransformations.contains(textBox)) { 43 transform = m_textBoxTransformations.get(textBox); 56 SVGInlineTextBox* textBox = lineLayoutBoxes[boxPosition]; local 57 if (!textBox->startsNewTextChunk()) 92 SVGInlineTextBox* textBox = lineLayoutBoxes[boxStart]; local 93 ASSERT(textBox); 95 RenderSVGInlineText* textRenderer = toRenderSVGInlineText(textBox->textRenderer()); 188 SVGInlineTextBox* textBox = boxes[boxPosition]; local 189 Vector<SVGTextFragment>& fragments = textBox [all...] |
H A D | 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); local 196 Vector<SVGTextFragment>& fragments = textBox [all...] |
H A D | SVGRootInlineBox.cpp | 103 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(child); local 104 characterLayout.layoutInlineTextBox(textBox); 142 SVGInlineTextBox* textBox = static_cast<SVGInlineTextBox*>(child); local 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());
|
H A D | SVGRenderTreeAsText.cpp | 450 static inline void writeSVGInlineTextBox(TextStream& ts, SVGInlineTextBox* textBox, int indent) argument 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 [all...] |
H A D | SVGTextLayoutEngine.cpp | 122 void SVGTextLayoutEngine::recordTextFragment(SVGInlineTextBox* textBox, Vector<SVGTextMetrics>& textMetricsValues) argument 149 textBox->textFragments().append(m_currentTextFragment); 239 void SVGTextLayoutEngine::layoutInlineTextBox(SVGInlineTextBox* textBox) argument 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 local 298 SVGInlineTextBox* textBox = boxes.at(boxPosition); local 436 layoutTextOnLineOrPath(SVGInlineTextBox* textBox, RenderSVGInlineText* text, const RenderStyle* style) argument [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
H A D | StringBlock.java | 48 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...] |
/external/webkit/Source/WebCore/rendering/ |
H A D | RenderLineBoxList.cpp | 346 InlineTextBox* textBox = toRenderText(curr)->lastTextBox(); local 347 if (textBox) 348 box = textBox->root();
|
H A D | InlineFlowBox.cpp | 745 inline void InlineFlowBox::addTextBoxVisualOverflow(InlineTextBox* textBox, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, IntRect& logicalVisualOverflow) argument 747 if (textBox->knownToHaveNoOverflow()) 750 RenderStyle* style = textBox->renderer()->style(m_firstLine); 752 GlyphOverflowAndFallbackFontsMap::iterator it = textBoxDataMap.find(textBox); 768 if (style->textEmphasisMark() != TextEmphasisMarkNone && textBox->getEmphasisMarkPosition(style, emphasisMarkPosition)) { 794 int logicalTopVisualOverflow = min(textBox->logicalTop() + childOverflowLogicalTop, logicalVisualOverflow.y()); 795 int logicalBottomVisualOverflow = max(textBox->logicalBottom() + childOverflowLogicalBottom, logicalVisualOverflow.maxY()); 796 int logicalLeftVisualOverflow = min(textBox->pixelSnappedLogicalLeft() + childOverflowLogicalLeft, logicalVisualOverflow.x()); 797 int logicalRightVisualOverflow = max(textBox->pixelSnappedLogicalRight() + childOverflowLogicalRight, logicalVisualOverflow.maxX()); 802 textBox [all...] |
H A D | RenderText.cpp | 1264 InlineTextBox* textBox = createTextBox(); local 1266 m_firstTextBox = m_lastTextBox = textBox; 1268 m_lastTextBox->setNextTextBox(textBox); 1269 textBox->setPreviousTextBox(m_lastTextBox); 1270 m_lastTextBox = textBox; 1272 textBox->setIsText(true); 1273 return textBox;
|
H A D | RenderBlockLineLayout.cpp | 181 InlineTextBox* textBox = toRenderText(obj)->createInlineTextBox(); local 185 textBox->setIsText(isOnlyRun || obj->document()->inNoQuirksMode()); 186 return textBox; 592 InlineTextBox* textBox = static_cast<InlineTextBox*>(r->m_box); local 594 textBox->setExpansion(expansion);
|