¡@

Home 

2014/10/15 ¤U¤È 10:11:46

iphone Programming Glossary: mypoints

Drawing incrementally in a UIView (iPhone)

http://stackoverflow.com/questions/1798414/drawing-incrementally-in-a-uiview-iphone

maskRef respect alpha mask CGContextSetBlendMode context kCGBlendModeColorBurn set blending mode for Drop drop in myPoints CGContextAddEllipseInRect context CGRectMake drop.point.x drop.size 2 drop.point.y drop.size 2 drop.size drop.size CGContextSetRGBFillColor.. CGContextRef ctx UIGraphicsGetCurrentContext ctx is now the image's context cachedImage drawAtPoint CGPointZero if myPoints count 0 Drop drop myPoints objectAtIndex myPoints count 1 CGContextClipToMask ctx self.bounds maskRef respect alpha mask.. ctx is now the image's context cachedImage drawAtPoint CGPointZero if myPoints count 0 Drop drop myPoints objectAtIndex myPoints count 1 CGContextClipToMask ctx self.bounds maskRef respect alpha mask CGContextAddEllipseInRect..