Searched defs:textOrigin (Results 1 - 3 of 3) sorted by relevance

/external/webkit/Source/WebCore/rendering/
H A DRenderCombineText.cpp67 void RenderCombineText::adjustTextOrigin(FloatPoint& textOrigin, const FloatRect& boxRect) const argument
70 textOrigin.move(boxRect.height() / 2 - ceilf(m_combinedTextWidth) / 2, style()->font().pixelSize());
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);
538 FloatPoint textOrigin = FloatPoint(boxOrigin.x(), boxOrigin.y() + font.fontMetrics().ascent()); local
541 combinedText->adjustTextOrigin(textOrigin, boxRect);
682 paintTextWithShadows(context, font, textRun, nullAtom, 0, 0, length, length, textOrigin, boxRec
[all...]
H A DRenderListMarker.cpp1268 IntPoint textOrigin = IntPoint(marker.x(), marker.y() + style()->fontMetrics().ascent()); local
1271 context->drawText(style()->font(), textRun, textOrigin);
1289 context->drawText(style()->font(), textRun, textOrigin);
1291 context->drawText(style()->font(), TextRun(suffixSpace, 2), textOrigin + IntSize(width, 0));
1296 context->drawText(style()->font(), spaceSuffixRun, textOrigin);
1297 context->drawText(style()->font(), textRun, textOrigin + IntSize(width, 0));

Completed in 173 milliseconds