Home | History | Annotate | Download | only in win

Lines Matching defs:cgContext

240         CGContextRef cgContext = graphicsContext->platformContext();
242 CGContextSaveGState(cgContext);
246 CGContextSetShouldAntialias(cgContext, fontSmoothingEnabled);
248 CGContextScaleCTM(cgContext, 1.0, -1.0);
249 CGContextTranslateCTM(cgContext, point.x() + glyphBuffer.offsetAt(from).width(), -(point.y() + glyphBuffer.offsetAt(from).height()));
253 CGContextSaveGState(cgContext);
254 CGContextConcatCTM(cgContext, initialGlyphTransform);
257 CGContextAddPath(cgContext, glyphPath.get());
258 CGContextFillPath(cgContext);
260 CGContextTranslateCTM(cgContext, font->syntheticBoldOffset(), 0);
261 CGContextAddPath(cgContext, glyphPath.get());
262 CGContextFillPath(cgContext);
263 CGContextTranslateCTM(cgContext, -font->syntheticBoldOffset(), 0);
267 CGContextAddPath(cgContext, glyphPath.get());
268 CGContextStrokePath(cgContext);
270 CGContextTranslateCTM(cgContext, font->syntheticBoldOffset(), 0);
271 CGContextAddPath(cgContext, glyphPath.get());
272 CGContextStrokePath(cgContext);
273 CGContextTranslateCTM(cgContext, -font->syntheticBoldOffset(), 0);
277 CGContextRestoreGState(cgContext);
278 CGContextTranslateCTM(cgContext, gdiAdvances[i], 0);
281 CGContextRestoreGState(cgContext);
303 CGContextRef cgContext = graphicsContext->platformContext();
335 uint32_t oldFontSmoothingStyle = wkSetFontSmoothingStyle(cgContext, shouldUseFontSmoothing);
339 CGContextSetFont(cgContext, platformData.cgFont());
350 CGContextSetTextMatrix(cgContext, matrix);
355 CGContextSetFontSize(cgContext, platformData.size());
356 wkSetCGContextFontRenderingStyle(cgContext, font->isSystemFont(), false, font->platformData().useGDI());
374 CGContextSetTextPosition(cgContext, shadowTextX, shadowTextY);
375 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
377 CGContextSetTextPosition(cgContext, point.x() + translation.width() + shadowOffset.width() + font->syntheticBoldOffset(), point.y() + translation.height() + shadowOffset.height());
378 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
383 CGContextSetTextPosition(cgContext, point.x() + translation.width(), point.y() + translation.height());
384 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
386 CGContextSetTextPosition(cgContext, point.x() + translation.width() + font->syntheticBoldOffset(), point.y() + translation.height());
387 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
393 wkRestoreFontSmoothingStyle(cgContext, oldFontSmoothingStyle);