iphone Programming Glossary: erasecontext
How to erase finger paint on Custom UIView in iPhone http://stackoverflow.com/questions/11132546/how-to-erase-finger-paint-on-custom-uiview-in-iphone @ erase UITouch erasetouch touches anyObject CGPoint erasecurrentPoint erasetouch locationInView self CGContextRef erasecontext UIGraphicsGetCurrentContext CGContextSetLineCap erasecontext kCGLineCapRound CGContextSetLineWidth erasecontext 10 CGContextSetBlendMode.. erasetouch locationInView self CGContextRef erasecontext UIGraphicsGetCurrentContext CGContextSetLineCap erasecontext kCGLineCapRound CGContextSetLineWidth erasecontext 10 CGContextSetBlendMode erasecontext kCGBlendModeClear CGContextSetStrokeColorWithColor.. erasecontext UIGraphicsGetCurrentContext CGContextSetLineCap erasecontext kCGLineCapRound CGContextSetLineWidth erasecontext 10 CGContextSetBlendMode erasecontext kCGBlendModeClear CGContextSetStrokeColorWithColor erasecontext UIColor clearColor..
|