¡@

Home 

2014/10/15 ¤U¤È 10:05:31

iphone Programming Glossary: context2

iPhone development: pointer being freed was not allocated

http://stackoverflow.com/questions/1424210/iphone-development-pointer-being-freed-was-not-allocated

0 source.size.height CGContextScaleCTM context 1.0 1.0 UIImage original self createGrayCopy source CGContextRef context2 CGBitmapContextCreate NULL source.size.width source.size.height 8 4 source.size.width CGColorSpaceCreateDeviceRGB kCGImageAlphaNoneSkipLast.. source.size.height 8 4 source.size.width CGColorSpaceCreateDeviceRGB kCGImageAlphaNoneSkipLast CGContextDrawImage context2 CGRectMake 0 0 source.size.width source.size.height original.CGImage CGImageRef unmasked CGBitmapContextCreateImage context2.. CGRectMake 0 0 source.size.width source.size.height original.CGImage CGImageRef unmasked CGBitmapContextCreateImage context2 const float myMaskingColorsFrameColor 6 1 256 1 256 1 256 CGImageRef mask CGImageCreateWithMaskingColors unmasked myMaskingColorsFrameColor..