Searched defs:textRun (Results 1 - 5 of 5) sorted by relevance

/external/webkit/Source/WebKit/android/nav/
H A DSelectText.cpp68 TextRunIterator(const TextRun* textRun, unsigned offset) argument
69 : m_textRun(textRun)
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGInlineTextBox.cpp69 TextRun textRun(constructTextRun(style, fragment));
76 textRun.setHorizontalGlyphStretch(narrowPrecisionToFloat(fragmentTransform.xScale()));
78 return fragment.characterOffset - start() + textRenderer->scaledFont().offsetForPosition(textRun, position * scalingFactor, includePartialGlyphs);
381 bool SVGInlineTextBox::prepareGraphicsContextForTextPainting(GraphicsContext*& context, float scalingFactor, TextRun& textRun, RenderStyle* style) argument
388 textRun.setActivePaintingResource(m_paintingResource);
394 void SVGInlineTextBox::restoreGraphicsContextAfterTextPainting(GraphicsContext*& context, TextRun& textRun) argument
399 textRun.setActivePaintingResource(0);
601 void SVGInlineTextBox::paintTextWithShadows(GraphicsContext* context, RenderStyle* style, TextRun& textRun, const SVGTextFragment& fragment, int startPosition, int endPosition) argument
623 if (!prepareGraphicsContextForTextPainting(context, scalingFactor, textRun, style))
649 scaledFont.drawText(context, textRun, textOrigi
[all...]
/external/webkit/Source/WebCore/platform/graphics/
H A DGraphicsContext.cpp49 TextRunIterator(const TextRun* textRun, unsigned offset) argument
50 : m_textRun(textRun)
/external/webkit/Source/WebCore/rendering/
H A DRenderListBox.cpp339 static IntSize itemOffsetForAlignment(TextRun textRun, RenderStyle* itemStyle, Font itemFont, IntRect itemBoudingBox) argument
348 float textWidth = itemFont.width(textRun);
351 float textWidth = itemFont.width(textRun);
392 TextRun textRun(string, length, false, 0, 0, TextRun::AllowTrailingExpansion, !itemStyle->isLeftToRightDirection(), itemStyle->unicodeBidi() == Override);
395 r.move(itemOffsetForAlignment(textRun, itemStyle, itemFont, r));
406 paintInfo.context->drawBidiText(itemFont, textRun, r.location());
H A DInlineTextBox.cpp390 static void paintTextWithShadows(GraphicsContext* context, const Font& font, const TextRun& textRun, const AtomicString& emphasisMark, int emphasisMarkOffset, int startOffset, int endOffset, int truncationPoint, const FloatPoint& textOrigin, argument
408 context->drawText(font, textRun, textOrigin + extraOffset, startOffset, endOffset);
410 context->drawEmphasisMarks(font, textRun, emphasisMark, textOrigin + extraOffset + IntSize(0, emphasisMarkOffset), startOffset, endOffset);
414 context->drawText(font, textRun, textOrigin + extraOffset, 0, endOffset);
416 context->drawEmphasisMarks(font, textRun, emphasisMark, textOrigin + extraOffset + IntSize(0, emphasisMarkOffset), 0, endOffset);
419 context->drawText(font, textRun, textOrigin + extraOffset, startOffset, truncationPoint);
421 context->drawEmphasisMarks(font, textRun, emphasisMark, textOrigin + extraOffset + IntSize(0, emphasisMarkOffset), startOffset, truncationPoint);
653 TextRun textRun(characters, length, textRenderer()->allowTabs(), textPos(), m_expansion, expansionBehavior(), !isLeftToRightDirection(), m_dirOverride || styleToUse->visuallyOrdered());
682 paintTextWithShadows(context, font, textRun, nullAtom, 0, 0, length, length, textOrigin, boxRect, textShadow, textStrokeWidth > 0, isHorizontal());
684 paintTextWithShadows(context, font, textRun, nullAto
[all...]

Completed in 301 milliseconds