¡@

Home 

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

iphone Programming Glossary: radious

Blur an image of specific part (rectangular, circular)?

http://stackoverflow.com/questions/14107979/blur-an-image-of-specific-part-rectangular-circular

the Image #pragma mark RoundRect the Image UIImage roundedRectImageFromImage UIImage image withRadious CGFloat radious if radious 0.0f return image if image nil CGFloat imageWidth image.size.width CGFloat imageHeight image.size.height CGRect.. Image #pragma mark RoundRect the Image UIImage roundedRectImageFromImage UIImage image withRadious CGFloat radious if radious 0.0f return image if image nil CGFloat imageWidth image.size.width CGFloat imageHeight image.size.height CGRect rect CGRectMake.. context CGContextTranslateCTM context CGRectGetMinX rect CGRectGetMinY rect CGContextScaleCTM context radious radious CGFloat rectWidth CGRectGetWidth rect radious CGFloat rectHeight CGRectGetHeight rect radious CGContextMoveToPoint..

How to erase part of an image as the user touches it

http://stackoverflow.com/questions/2978382/how-to-erase-part-of-an-image-as-the-user-touches-it

want with your IplImage this is what you want UIImage erasePointinUIImage IplImage image CGPoint point int r r is the radious of the erasing int a point.x int b point.y int position int minX minY maxX maxY minX a r 0 a r 0 minY b r 0 b r 0 maxX a..