UIImage: fill background?

You can use UIRectFill(rect) to fill the background of a bitmap context with the current fill color. To set the fill color you can use UIColor set.

You can use UIRectFill(rect) to fill the background of a bitmap context with the current fill color. To set the fill color you can use UIColor set. E.g.

//Get a temp image to determine the size of the bitmap context UIImage* temp = UIGraphicsGetImageFromCurrentImageContext(); UIColor redColor set; //set the desired background color UIRectFill(CGRectMake(0.0, 0.0, temp.size. Width, temp.size. Height)); //fill the bitmap context image drawInRect:scaledImageRect; //draw your image over the filled background.

Thank you weichsel! – Dennis Madsen Dec 3 '11 at 10:37.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions