1
最后两行有什么区别?vs [CIContext drawImage:...]
CIImage *outputImage = [compositingFilter valueForKey:@"outputImage"];
[[[NSGraphicsContext currentContext] CIContext] drawImage:outputImage atPoint:point fromRect:fromRect];
[outputImage drawAtPoint:point fromRect:fromRect operation:op fraction:delta];
最后一个产生的扭曲图像的矩形比[outputImage extent]小;
drawImage:在某些情况下崩溃。
你得到了什么样的崩溃?有可能会导致一个问题,你没有在这里显示。 – 2009-09-12 03:36:03