Home | History | Annotate | Download | only in win

Lines Matching refs:cgContext

234         CGContextRef cgContext = graphicsContext->platformContext();
236 CGContextSaveGState(cgContext);
240 CGContextSetShouldAntialias(cgContext, fontSmoothingEnabled);
242 CGContextScaleCTM(cgContext, 1.0, -1.0);
243 CGContextTranslateCTM(cgContext, point.x() + glyphBuffer.offsetAt(from).width(), -(point.y() + glyphBuffer.offsetAt(from).height()));
247 CGContextSaveGState(cgContext);
248 CGContextConcatCTM(cgContext, initialGlyphTransform);
251 CGContextAddPath(cgContext, glyphPath.get());
252 CGContextFillPath(cgContext);
254 CGContextTranslateCTM(cgContext, font->syntheticBoldOffset(), 0);
255 CGContextAddPath(cgContext, glyphPath.get());
256 CGContextFillPath(cgContext);
257 CGContextTranslateCTM(cgContext, -font->syntheticBoldOffset(), 0);
261 CGContextAddPath(cgContext, glyphPath.get());
262 CGContextStrokePath(cgContext);
264 CGContextTranslateCTM(cgContext, font->syntheticBoldOffset(), 0);
265 CGContextAddPath(cgContext, glyphPath.get());
266 CGContextStrokePath(cgContext);
267 CGContextTranslateCTM(cgContext, -font->syntheticBoldOffset(), 0);
271 CGContextRestoreGState(cgContext);
272 CGContextTranslateCTM(cgContext, gdiAdvances[i], 0);
275 CGContextRestoreGState(cgContext);
297 CGContextRef cgContext = graphicsContext->platformContext();
332 uint32_t oldFontSmoothingStyle = wkSetFontSmoothingStyle(cgContext, shouldUseFontSmoothing);
336 CGContextSetFont(cgContext, platformData.cgFont());
347 CGContextSetTextMatrix(cgContext, matrix);
352 CGContextSetFontSize(cgContext, platformData.size());
353 wkSetCGContextFontRenderingStyle(cgContext, font->isSystemFont(), false, font->platformData().useGDI());
367 CGContextSetTextPosition(cgContext, point.x() + translation.width() + shadowSize.width(), point.y() + translation.height() + shadowSize.height());
368 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
370 CGContextSetTextPosition(cgContext, point.x() + translation.width() + shadowSize.width() + font->syntheticBoldOffset(), point.y() + translation.height() + shadowSize.height());
371 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
376 CGContextSetTextPosition(cgContext, point.x() + translation.width(), point.y() + translation.height());
377 cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
379 CGContextSetTextPosition(cgContext, point.x() + translation.width() + font->syntheticBoldOffset(), point.y() + translation.height());
380 CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
386 wkRestoreFontSmoothingStyle(cgContext, oldFontSmoothingStyle);