Home
last modified time | relevance | path

Searched refs:textWidth (Results 1 – 5 of 5) sorted by relevance

/external/webkit/WebCore/rendering/
DRenderImage.cpp414 int textWidth = font.width(textRun); in paintReplaced() local
416 if (usableWidth >= textWidth && font.height() <= imageY) in paintReplaced()
418 } else if (usableWidth >= textWidth && cHeight >= font.height()) in paintReplaced()
DSVGRootInlineBox.cpp489 int textWidth = 0; in chunkPortionCallback() local
514textWidth = styleToUse->font().width(svgTextRunForInlineTextBox(stringStart, stringLength, styleTo… in chunkPortionCallback()
519 if (textDecorations & UNDERLINE && textWidth != 0.0f) in chunkPortionCallback()
520 …(UNDERLINE, m_paintInfo.context, decorationOrigin.x(), decorationOrigin.y(), textWidth, *it, info); in chunkPortionCallback()
522 if (textDecorations & OVERLINE && textWidth != 0.0f) in chunkPortionCallback()
523 …n(OVERLINE, m_paintInfo.context, decorationOrigin.x(), decorationOrigin.y(), textWidth, *it, info); in chunkPortionCallback()
534 if (textDecorations & LINE_THROUGH && textWidth != 0.0f) in chunkPortionCallback()
535 …NE_THROUGH, m_paintInfo.context, decorationOrigin.x(), decorationOrigin.y(), textWidth, *it, info); in chunkPortionCallback()
DRenderBlockLineLayout.cpp1687 static inline unsigned textWidth(RenderText* text, unsigned from, unsigned len, const Font& font, i… in textWidth() function
1955 …tmpW += textWidth(t, lastSpace, pos - lastSpace, f, w + tmpW, isFixedPitch, collapseWhiteSpace) + … in findNextLineBreak()
1960 … tmpW += textWidth(t, pos, 1, f, w + tmpW, isFixedPitch, collapseWhiteSpace); in findNextLineBreak()
1980 … charWidth = textWidth(t, pos, 1, f, w + wrapW, isFixedPitch, collapseWhiteSpace); in findNextLineBreak()
2005 …int additionalTmpW = textWidth(t, lastSpace, pos - lastSpace, f, w + tmpW, isFixedPitch, collapseW… in findNextLineBreak()
2022 …int charWidth = textWidth(t, pos, 1, f, w + tmpW, isFixedPitch, collapseWhiteSpace) + (applyWordSp… in findNextLineBreak()
2052 … tmpW -= textWidth(t, pos - 1, 1, f, w + tmpW, isFixedPitch, collapseWhiteSpace); in findNextLineBreak()
2143 …tmpW += textWidth(t, lastSpace, pos - lastSpace, f, w + tmpW, isFixedPitch, collapseWhiteSpace) + … in findNextLineBreak()
DRenderListBox.cpp118 … 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/
DChangeLog-2009-06-1626815 (WebCore::textWidth):
45458 (WebCore::textWidth): Added this inlined helper function which calls
45465 textWidth() helper function.