Searched refs:fCG (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/ports/ |
D | SkScalerContext_mac_ct.cpp | 187 if (!fCG || fSize.fWidth < glyph.width() || fSize.fHeight < glyph.height()) { in getCG() 201 fCG.reset(CGBitmapContextCreate(image, fSize.fWidth, fSize.fHeight, 8, in getCG() 206 CGContextSetAllowsFontSubpixelQuantization(fCG.get(), false); in getCG() 207 CGContextSetShouldSubpixelQuantizeFonts(fCG.get(), false); in getCG() 212 CGContextSetAllowsFontSubpixelPositioning(fCG.get(), true); in getCG() 213 CGContextSetShouldSubpixelPositionFonts(fCG.get(), true); in getCG() 215 CGContextSetTextDrawingMode(fCG.get(), kCGTextFill); in getCG() 218 CGContextSetGrayFillColor(fCG.get(), 0.0f, 1.0f); in getCG() 224 CGContextSetTextMatrix(fCG.get(), context.fTransform); in getCG() 228 CGContextSetShouldAntialias(fCG.get(), doAA); in getCG() [all …]
|
D | SkScalerContext_mac_ct.h | 58 , fCG(nullptr) in Offscreen() 76 SkUniqueCFRef<CGContextRef> fCG; variable
|
/external/skqp/src/ports/ |
D | SkFontHost_mac.cpp | 452 , fCG(nullptr) in Offscreen() 470 SkUniqueCFRef<CGContextRef> fCG; member in Offscreen 1040 if (!fCG || fSize.fWidth < glyph.fWidth || fSize.fHeight < glyph.fHeight) { in getCG() 1054 fCG.reset(CGBitmapContextCreate(image, fSize.fWidth, fSize.fHeight, 8, in getCG() 1059 CGContextSetAllowsFontSubpixelQuantization(fCG.get(), false); in getCG() 1060 CGContextSetShouldSubpixelQuantizeFonts(fCG.get(), false); in getCG() 1065 CGContextSetAllowsFontSubpixelPositioning(fCG.get(), true); in getCG() 1066 CGContextSetShouldSubpixelPositionFonts(fCG.get(), true); in getCG() 1068 CGContextSetTextDrawingMode(fCG.get(), kCGTextFill); in getCG() 1071 CGContextSetGrayFillColor(fCG.get(), 0.0f, 1.0f); in getCG() [all …]
|