¡@

Home 

2014/10/15 ¤U¤È 10:04:36

iphone Programming Glossary: bleed

How to add a UIView above the current UITableViewController

http://stackoverflow.com/questions/4641879/how-to-add-a-uiview-above-the-current-uitableviewcontroller

method of a UITableViewController This works self.view addSubview self.progView But you can see the table cell lines bleed through the UIView progView. I've tried this approach self.view.superview insertSubview self.progView aboveSubview self.view..

How can I crop an Image with mask and combine it with another image (background) on iPhone? (OpenGL ES 1.1 is preferred)

http://stackoverflow.com/questions/5299452/how-can-i-crop-an-image-with-mask-and-combine-it-with-another-image-background

my answer. Draw the mask with blending disabled. Enable blending set the GLBlendFunc GL_DST_COLOR GL_ZERO and draw the bleed through texture. My mask is white where it should bleed through. In your question it was black. Now to draw the background.. blending set the GLBlendFunc GL_DST_COLOR GL_ZERO and draw the bleed through texture. My mask is white where it should bleed through. In your question it was black. Now to draw the background set the blend function to glBlendFunc GL_ONE_MINUS_DST_COLOR..