Lines Matching defs:cg
172 CGContextRef cg = reinterpret_cast<CGContextRef>(ctx);174 CGContextSaveGState(cg);175 CGContextTranslateCTM(cg, 0, r.size.height);176 CGContextScaleCTM(cg, 1, -1);178 CGContextDrawImage(cg, r, img);180 CGContextRestoreGState(cg);390 CGContextRef cg;397 &cg);399 cg = NULL;401 win->doPaint(cg);