Home | History | Annotate | Download | only in mac

Lines Matching refs:cgContext

52     CGContextRef cgContext = context->platformContext();
79 bool originalShouldUseFontSmoothing = wkCGContextGetShouldSmoothFonts(cgContext);
81 CGContextSetShouldSmoothFonts(cgContext, newShouldUseFontSmoothing);
98 CGContextSetFont(cgContext, platformData.cgFont());
107 CGContextSetTextMatrix(cgContext, matrix);
110 wkSetCGFontRenderingMode(cgContext, drawFont);
111 CGContextSetFontSize(cgContext, 1.0f);
113 CGContextSetFontSize(cgContext, platformData.m_size);
128 CGContextSetTextPosition(cgContext, point.x() + shadowSize.width(), point.y() + shadowSize.height());
129 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
131 CGContextSetTextPosition(cgContext, point.x() + shadowSize.width() + font->syntheticBoldOffset(), point.y() + shadowSize.height());
132 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
137 CGContextSetTextPosition(cgContext, point.x(), point.y());
138 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
140 CGContextSetTextPosition(cgContext, point.x() + font->syntheticBoldOffset(), point.y());
141 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
148 CGContextSetShouldSmoothFonts(cgContext, originalShouldUseFontSmoothing);