Searched refs:textWidth (Results 1 – 5 of 5) sorted by relevance
/external/webkit/WebCore/rendering/ |
D | SVGRootInlineBox.cpp | 589 int textWidth = 0; in chunkPortionCallback() local 614 …textWidth = styleToUse->font().width(svgTextRunForInlineTextBox(stringStart, stringLength, styleTo… in chunkPortionCallback() 619 if (textDecorations & UNDERLINE && textWidth != 0.0f) in chunkPortionCallback() 620 …(UNDERLINE, m_paintInfo.context, decorationOrigin.x(), decorationOrigin.y(), textWidth, *it, info); in chunkPortionCallback() 622 if (textDecorations & OVERLINE && textWidth != 0.0f) in chunkPortionCallback() 623 …n(OVERLINE, m_paintInfo.context, decorationOrigin.x(), decorationOrigin.y(), textWidth, *it, info); in chunkPortionCallback() 630 if (textDecorations & LINE_THROUGH && textWidth != 0.0f) in chunkPortionCallback() 631 …NE_THROUGH, m_paintInfo.context, decorationOrigin.x(), decorationOrigin.y(), textWidth, *it, info); in chunkPortionCallback()
|
D | RenderImage.cpp | 419 int textWidth = font.width(textRun); in paintReplaced() local 421 if (usableWidth >= textWidth && font.height() <= imageY) in paintReplaced() 423 } else if (usableWidth >= textWidth && cHeight >= font.height()) in paintReplaced()
|
D | RenderBlockLineLayout.cpp | 1408 static inline unsigned textWidth(RenderText* text, unsigned from, unsigned len, const Font& font, i… in textWidth() function 1682 …tmpW += textWidth(t, lastSpace, pos - lastSpace, f, w + tmpW, isFixedPitch, collapseWhiteSpace) + … in findNextLineBreak() 1687 … tmpW += textWidth(t, pos, 1, f, w + tmpW, isFixedPitch, collapseWhiteSpace); in findNextLineBreak() 1707 … charWidth = textWidth(t, pos, 1, f, w + wrapW, isFixedPitch, collapseWhiteSpace); in findNextLineBreak() 1734 …additionalTmpW = textWidth(t, lastSpace, pos + 1 - lastSpace, f, w + tmpW, isFixedPitch, collapseW… in findNextLineBreak() 1736 …additionalTmpW = textWidth(t, lastSpace, pos - lastSpace, f, w + tmpW, isFixedPitch, collapseWhite… in findNextLineBreak() 1753 …int charWidth = textWidth(t, pos, 1, f, w + tmpW, isFixedPitch, collapseWhiteSpace) + (applyWordSp… in findNextLineBreak() 1783 … tmpW -= textWidth(t, pos - 1, 1, f, w + tmpW, isFixedPitch, collapseWhiteSpace); in findNextLineBreak() 1874 …tmpW += textWidth(t, lastSpace, pos - lastSpace, f, w + tmpW, isFixedPitch, collapseWhiteSpace) + … in findNextLineBreak()
|
D | RenderListBox.cpp | 118 … float textWidth = itemFont.floatWidth(TextRun(text.impl(), 0, 0, 0, false, false, false, false)); in updateFromElement() local 119 width = max(width, textWidth); in updateFromElement()
|
/external/webkit/WebCore/ |
D | ChangeLog-2009-06-16 | 26815 (WebCore::textWidth): 45458 (WebCore::textWidth): Added this inlined helper function which calls 45465 textWidth() helper function.
|