Home
last modified time | relevance | path

Searched refs:textRun (Results 1 – 14 of 14) sorted by relevance

/external/webkit/Source/WebCore/rendering/svg/
DSVGInlineTextBox.cpp69 TextRun textRun(constructTextRun(style, fragment)); in offsetForPositionInFragment() local
76 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale())); in offsetForPositionInFragment()
78 …characterOffset - start() + textRenderer->scaledFont().offsetForPosition(textRun, position * scali… in offsetForPositionInFragment()
381 …ForTextPainting(GraphicsContext*& context, float scalingFactor, TextRun& textRun, RenderStyle* sty… in prepareGraphicsContextForTextPainting() argument
388 textRun.setActivePaintingResource(m_paintingResource); in prepareGraphicsContextForTextPainting()
394 …InlineTextBox::restoreGraphicsContextAfterTextPainting(GraphicsContext*& context, TextRun& textRun) in restoreGraphicsContextAfterTextPainting() argument
399 textRun.setActivePaintingResource(0); in restoreGraphicsContextAfterTextPainting()
594 …ntTextWithShadows(GraphicsContext* context, RenderStyle* style, TextRun& textRun, const SVGTextFra… in paintTextWithShadows() argument
616 if (!prepareGraphicsContextForTextPainting(context, scalingFactor, textRun, style)) in paintTextWithShadows()
634 scaledFont.drawText(context, textRun, textOrigin + extraOffset, startPosition, endPosition); in paintTextWithShadows()
[all …]
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/win/
DWebPopupMenuWin.cpp119 …TextRun textRun(string, length, false, 0, 0, TextRun::AllowTrailingExpansion, itemText.defaultWrit… in setUpPlatformData() local
139 notSelectedBackingStoreContext->drawBidiText(itemFont, textRun, IntPoint(textX, textY)); in setUpPlatformData()
140 selectedBackingStoreContext->drawBidiText(itemFont, textRun, IntPoint(textX, textY)); in setUpPlatformData()
/external/webkit/Source/WebCore/rendering/
DInlineTextBox.cpp389 static void paintTextWithShadows(GraphicsContext* context, const Font& font, const TextRun& textRun in paintTextWithShadows() argument
407 context->drawText(font, textRun, textOrigin + extraOffset, startOffset, endOffset); in paintTextWithShadows()
409 …context->drawEmphasisMarks(font, textRun, emphasisMark, textOrigin + extraOffset + IntSize(0, emph… in paintTextWithShadows()
413 context->drawText(font, textRun, textOrigin + extraOffset, 0, endOffset); in paintTextWithShadows()
415 …context->drawEmphasisMarks(font, textRun, emphasisMark, textOrigin + extraOffset + IntSize(0, emph… in paintTextWithShadows()
418 … context->drawText(font, textRun, textOrigin + extraOffset, startOffset, truncationPoint); in paintTextWithShadows()
420 …context->drawEmphasisMarks(font, textRun, emphasisMark, textOrigin + extraOffset + IntSize(0, emph… in paintTextWithShadows()
652 …TextRun textRun(characters, length, textRenderer()->allowTabs(), textPos(), m_expansion, expansion… in paint() local
681 …paintTextWithShadows(context, font, textRun, nullAtom, 0, 0, length, length, textOrigin, boxRect, … in paint()
683 …paintTextWithShadows(context, font, textRun, nullAtom, 0, ePos, sPos, length, textOrigin, boxRect,… in paint()
[all …]
DRenderFileUploadControl.cpp225 …TextRun textRun(string, length, false, 0, 0, TextRun::AllowTrailingExpansion, !style()->isLeftToRi… in paintObject() local
235 … textX = contentLeft + contentWidth() - buttonAndIconWidth - style()->font().width(textRun); in paintObject()
245 paintInfo.context->drawBidiText(style()->font(), textRun, IntPoint(textX, textY)); in paintObject()
DRenderListBox.cpp339 static IntSize itemOffsetForAlignment(TextRun textRun, RenderStyle* itemStyle, Font itemFont, IntRe… in itemOffsetForAlignment() argument
348 float textWidth = itemFont.width(textRun); in itemOffsetForAlignment()
351 float textWidth = itemFont.width(textRun); in itemOffsetForAlignment()
392 …TextRun textRun(string, length, false, 0, 0, TextRun::AllowTrailingExpansion, !itemStyle->isLeftTo… in paintItemForeground() local
395 r.move(itemOffsetForAlignment(textRun, itemStyle, itemFont, r)); in paintItemForeground()
406 paintInfo.context->drawBidiText(itemFont, textRun, r.location()); in paintItemForeground()
DRenderImage.cpp304 TextRun textRun(text.characters(), text.length()); in paintReplaced() local
305 int textWidth = font.width(textRun); in paintReplaced()
308 context->drawText(font, textRun, IntPoint(ax, ay + ascent)); in paintReplaced()
310 context->drawText(font, textRun, IntPoint(ax, ay + ascent)); in paintReplaced()
DRenderListMarker.cpp1256 TextRun textRun(m_text); in paint() local
1271 context->drawText(style()->font(), textRun, textOrigin); in paint()
1282 textRun = TextRun(reversedText.data(), length); in paint()
1288 int width = font.width(textRun); in paint()
1289 context->drawText(style()->font(), textRun, textOrigin); in paint()
1297 context->drawText(style()->font(), textRun, textOrigin + IntSize(width, 0)); in paint()
DRenderTextControl.cpp650 …TextRun textRun(placeholderText.characters(), placeholderText.length(), false, 0, 0, TextRun::Allo… in paintPlaceholder() local
659 textPoint.setX(tx + width() - textBlockInsetRight() - style()->font().width(textRun)); in paintPlaceholder()
661 paintInfo.context->drawBidiText(placeholderStyle->font(), textRun, textPoint); in paintPlaceholder()
/external/webkit/Source/WebCore/platform/chromium/
DPopupMenuChromium.cpp963 …TextRun textRun(itemText.characters(), itemText.length(), false, 0, 0, TextRun::AllowTrailingExpan… in paintRow() local
967 textX += maxWidth - itemFont.width(textRun); in paintRow()
971 gc->drawBidiText(itemFont, textRun, IntPoint(textX, textY)); in paintRow()
/external/webkit/Source/WebCore/platform/graphics/
DGraphicsContext.cpp49 TextRunIterator(const TextRun* textRun, unsigned offset) in TextRunIterator() argument
50 : m_textRun(textRun) in TextRunIterator()
/external/webkit/Source/WebCore/platform/win/
DPopupMenuWin.cpp634 …TextRun textRun(string, length, false, 0, 0, TextRun::AllowTrailingExpansion, itemText.defaultWrit… in paint() local
652 context.drawBidiText(itemFont, textRun, IntPoint(textX, textY)); in paint()
/external/webkit/Source/WebCore/html/canvas/
DCanvasRenderingContext2D.cpp1856 TextRun textRun(string, length, false, 0, 0, TextRun::AllowTrailingExpansion, rtl, override); in drawTextInternal() local
1927 maskImageContext->drawBidiText(font, textRun, location); in drawTextInternal()
1947 c->drawBidiText(font, textRun, location); in drawTextInternal()
/external/webkit/Source/WebKit/android/nav/
DSelectText.cpp66 TextRunIterator(const TextRun* textRun, unsigned offset) in TextRunIterator() argument
67 : m_textRun(textRun) in TextRunIterator()
/external/webkit/Source/WebCore/platform/graphics/mac/
DMediaPlayerPrivateQTKit.mm1375 TextRun textRun(text.characters(), text.length());
1382 context->drawText(styleToUse->font(), textRun, IntPoint(2, -3));