¡@

Home 

2014/10/15 ¤U¤È 10:07:41

iphone Programming Glossary: drop.dropsize

Drawing incrementally in a UIView (iPhone)

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

1 CGContextClipToMask ctx self.bounds maskRef respect alpha mask CGContextAddEllipseInRect ctx CGRectMake drop.point.x drop.dropSize 2 drop.point.y drop.dropSize 2 drop.dropSize drop.dropSize CGContextSetRGBFillColor ctx 0.5 0.0 0.0 1.0 CGContextFillPath.. maskRef respect alpha mask CGContextAddEllipseInRect ctx CGRectMake drop.point.x drop.dropSize 2 drop.point.y drop.dropSize 2 drop.dropSize drop.dropSize CGContextSetRGBFillColor ctx 0.5 0.0 0.0 1.0 CGContextFillPath ctx cachedImage release cachedImage.. respect alpha mask CGContextAddEllipseInRect ctx CGRectMake drop.point.x drop.dropSize 2 drop.point.y drop.dropSize 2 drop.dropSize drop.dropSize CGContextSetRGBFillColor ctx 0.5 0.0 0.0 1.0 CGContextFillPath ctx cachedImage release cachedImage UIGraphicsGetImageFromCurrentImageContext..