CGContext Custom brush
===

I am creating drawing app using CGContext, I want to use custom image as a brush. I have used  [UIColor colorWithPatternImage:[UIImage imageNamed:@"image.png"]]; to do this, but it is giving me pattern of that image and I want to use that image as a brush. How can I do this?
