Home
last modified time | relevance | path

Searched refs:smoothContext (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/utils/mac/
DSkCTFont.cpp227 SkUniqueCFRef<CGContextRef> smoothContext( in SkCTFontGetSmoothBehavior() local
244 CGContextSetShouldSmoothFonts(smoothContext.get(), true); in SkCTFontGetSmoothBehavior()
245 CGContextSetShouldAntialias(smoothContext.get(), true); in SkCTFontGetSmoothBehavior()
246 CGContextSetTextDrawingMode(smoothContext.get(), kCGTextFill); in SkCTFontGetSmoothBehavior()
247 CGContextSetGrayFillColor(smoothContext.get(), 1, 1); in SkCTFontGetSmoothBehavior()
252 CTFontDrawGlyphs(ctFont.get(), &spiderGlyph, &point, 1, smoothContext.get()); in SkCTFontGetSmoothBehavior()
/external/skqp/src/ports/
DSkFontHost_mac.cpp396 SkUniqueCFRef<CGContextRef> smoothContext( in smooth_behavior() local
414 CGContextSetShouldSmoothFonts(smoothContext.get(), true); in smooth_behavior()
415 CGContextSetShouldAntialias(smoothContext.get(), true); in smooth_behavior()
416 CGContextSetTextDrawingMode(smoothContext.get(), kCGTextFill); in smooth_behavior()
417 CGContextSetGrayFillColor(smoothContext.get(), 1, 1); in smooth_behavior()
422 CTFontDrawGlyphs(ctFont.get(), &spiderGlyph, &point, 1, smoothContext.get()); in smooth_behavior()