iphone Programming Glossary: overlaycopy
iPhone take augmented reality screenshot with AVCaptureVideoPreviewLayer http://stackoverflow.com/questions/8980847/iphone-take-augmented-reality-screenshot-with-avcapturevideopreviewlayer CGRectMake CGFloat 0.0 CGFloat 0.0 glImage.size.width glImage.scale glImage.size.height glImage.scale CGImageRef overlayCopy CGImageCreateCopy overlayImage.CGImage CGColorSpaceRef colorSpace CGColorSpaceCreateDeviceRGB CGContextRef context CGBitmapContextCreate.. CGContextDrawImage context imageRect glImage.CGImage CGContextDrawImage context imageRect overlayCopy CGImageRef newImage CGBitmapContextCreateImage context UIImage combinedViewImage UIImage alloc initWithCGImage newImage.. UIImage combinedViewImage UIImage alloc initWithCGImage newImage autorelease CGImageRelease newImage CGImageRelease overlayCopy CGContextRelease context CGColorSpaceRelease colorSpace return combinedViewImage UIImage UIViewToImage UIView view withOverlayImage..
|