Searched refs:cgContext (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 314 AutoCFRelease<CGContextRef> cgContext(CGBitmapContextCreate(&rgb, 1, 1, 8, 4, in supports_LCD() local 316 CGContextSelectFont(cgContext, "Helvetica", 16, kCGEncodingMacRoman); in supports_LCD() 317 CGContextSetShouldSmoothFonts(cgContext, true); in supports_LCD() 318 CGContextSetShouldAntialias(cgContext, true); in supports_LCD() 319 CGContextSetTextDrawingMode(cgContext, kCGTextFill); in supports_LCD() 320 CGContextSetGrayFillColor(cgContext, 1, 1); in supports_LCD() 321 CGContextShowTextAtPoint(cgContext, -1, 0, "|", 1); in supports_LCD()
|