¡@

Home 

2014/10/15 ¤U¤È 10:14:19

iphone Programming Glossary: sp.image.size.height

iPhone development: pointer being freed was not allocated

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

overlayPNG SinglePart sp NSLog sp description Rect and context setup CGRect rect CGRectMake 0 0 sp.image.size.width sp.image.size.height NSLog @ f x f sp.image.size.width sp.image.size.height Create an image of a color filled rectangle UIImage baseColor nil.. context setup CGRect rect CGRectMake 0 0 sp.image.size.width sp.image.size.height NSLog @ f x f sp.image.size.width sp.image.size.height Create an image of a color filled rectangle UIImage baseColor nil if sp.hasOwnColor baseColor UIImageUtility imageWithRect.. new context for merging the overlay and a mask of the layer UIGraphicsBeginImageContext CGSizeMake sp.image.size.width sp.image.size.height CGContextRef context2 UIGraphicsGetCurrentContext Adjust the coordinate system so that the origin is in the lower left corner..