views:

226

answers:

0

Hello,

Do anyone know how I can draw a transparent portion of image using CGContextClearRect with best performance? My requirements is that I need to draw a mask on a picture, in some cases, I need to erase it, but CGContextClearRect working slow. I have use CGContextAddElipse to draw circle to clear the image. Great help will be appreciated.

Thanking You & Regards.

Krunal.