Lines Matching refs:fCG
187 if (!fCG || fSize.fWidth < glyph.width() || fSize.fHeight < glyph.height()) {
201 fCG.reset(CGBitmapContextCreate(image, fSize.fWidth, fSize.fHeight, 8,
206 CGContextSetAllowsFontSubpixelQuantization(fCG.get(), false);
207 CGContextSetShouldSubpixelQuantizeFonts(fCG.get(), false);
212 CGContextSetAllowsFontSubpixelPositioning(fCG.get(), true);
213 CGContextSetShouldSubpixelPositionFonts(fCG.get(), true);
215 CGContextSetTextDrawingMode(fCG.get(), kCGTextFill);
218 CGContextSetGrayFillColor(fCG.get(), 0.0f, 1.0f);
224 CGContextSetTextMatrix(fCG.get(), context.fTransform);
228 CGContextSetShouldAntialias(fCG.get(), doAA);
232 CGContextSetShouldSmoothFonts(fCG.get(), doLCD);
261 CTFontDrawGlyphs(context.fCTFont.get(), &glyphID, &point, 1, fCG.get());