Searched refs:fCG (Results 1 – 2 of 2) sorted by relevance
/external/skia/legacy/src/ports/ |
D | SkFontHost_mac_coretext.cpp | 287 CGContextRef fCG; member in Offscreen 298 Offscreen::Offscreen() : fRGBSpace(NULL), fCG(NULL) { in Offscreen() 303 CFSafeRelease(fCG); in ~Offscreen() 724 if (!fCG || fSize.fWidth < glyph.fWidth || fSize.fHeight < glyph.fHeight) { in getCG() 725 CFSafeRelease(fCG); in getCG() 735 fCG = CGBitmapContextCreate(image, fSize.fWidth, fSize.fHeight, 8, in getCG() 740 CGContextSetAllowsFontSubpixelQuantization(fCG, false); in getCG() 741 CGContextSetShouldSubpixelQuantizeFonts(fCG, false); in getCG() 743 CGContextSetTextDrawingMode(fCG, kCGTextFill); in getCG() 744 CGContextSetFont(fCG, context.fCGFont); in getCG() [all …]
|
/external/skia/src/ports/ |
D | SkFontHost_mac_coretext.cpp | 337 AutoCFRelease<CGContextRef> fCG; member in Offscreen 347 Offscreen::Offscreen() : fRGBSpace(NULL), fCG(NULL) { in Offscreen() 740 if (!fCG || fSize.fWidth < glyph.fWidth || fSize.fHeight < glyph.fHeight) { in getCG() 750 fCG = CGBitmapContextCreate(image, fSize.fWidth, fSize.fHeight, 8, in getCG() 755 CGContextSetAllowsFontSubpixelQuantization(fCG, false); in getCG() 756 CGContextSetShouldSubpixelQuantizeFonts(fCG, false); in getCG() 758 CGContextSetTextDrawingMode(fCG, kCGTextFill); in getCG() 759 CGContextSetFont(fCG, context.fCGFont); in getCG() 760 CGContextSetFontSize(fCG, 1); in getCG() 761 CGContextSetTextMatrix(fCG, context.fTransform); in getCG() [all …]
|