Home | History | Annotate | Download | only in chromium

Lines Matching refs:graphicsContext

64     TransparencyAwareFontPainter(GraphicsContext*, const FloatPoint&);
77 GraphicsContext* m_graphicsContext;
97 TransparencyAwareFontPainter::TransparencyAwareFontPainter(GraphicsContext* context,
188 TransparencyAwareGlyphPainter(GraphicsContext*,
215 GraphicsContext* context,
300 TransparencyAwareUniscribePainter(GraphicsContext*,
320 GraphicsContext* context,
377 static void drawGlyphsWin(GraphicsContext* graphicsContext,
383 graphicsContext->platformContext()->prepareForSoftwareDraw();
385 TransparencyAwareGlyphPainter painter(graphicsContext, font, glyphBuffer, from, numGlyphs, point);
445 void Font::drawGlyphs(GraphicsContext* graphicsContext,
452 SkColor color = graphicsContext->platformContext()->effectiveFillColor();
455 if (!alpha && graphicsContext->platformContext()->getStrokeStyle() == NoStroke && !graphicsContext->hasShadow())
458 drawGlyphsWin(graphicsContext, font, glyphBuffer, from, numGlyphs, point);
480 void Font::drawComplexText(GraphicsContext* graphicsContext,
486 PlatformGraphicsContext* context = graphicsContext->platformContext();
489 SkColor color = graphicsContext->platformContext()->effectiveFillColor();
492 if (!alpha && graphicsContext->platformContext()->getStrokeStyle() == NoStroke)
495 TransparencyAwareUniscribePainter painter(graphicsContext, this, run, from, to, point);
498 if (windowsCanHandleTextDrawing(graphicsContext) && !hdc)
515 if (graphicsContext->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace) && windowsCanHandleDrawTextShadow(graphicsContext)) {
519 state.draw(graphicsContext, hdc, static_cast<int>(point.x()) + shadowOffset.width(),
526 state.draw(graphicsContext, hdc, lroundf(point.x()), lroundf(point.y() - fontMetrics().ascent()), from, to);
531 void Font::drawEmphasisMarksForComplexText(GraphicsContext* /* context */, const TextRun& /* run */, const AtomicString& /* mark */, const FloatPoint& /* point */, int /* from */, int /* to */) const