Home | History | Annotate | Download | only in cairo

Lines Matching refs:graphicsContext

38 #include "GraphicsContext.h"
68 static void drawGlyphsShadow(GraphicsContext* graphicsContext, const FloatPoint& point, const SimpleFontData* font, GlyphBufferGlyph* glyphs, int numGlyphs)
70 ContextShadow* shadow = graphicsContext->contextShadow();
73 if (!(graphicsContext->textDrawingMode() & TextModeFill) || shadow->m_type == ContextShadow::NoShadow)
76 if (!shadow->mustUseContextShadow(graphicsContext)) {
78 cairo_t* context = graphicsContext->platformContext()->cr();
91 cairo_t* shadowContext = shadow->beginShadowLayer(graphicsContext, fontExtentsRect);
95 shadow->endShadowLayer(graphicsContext);
99 void Font::drawGlyphs(GraphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyphBuffer,