Iphone 在添加混合模式下绘制图像,而不使用OpenGL

Iphone 在添加混合模式下绘制图像,而不使用OpenGL,iphone,uikit,core-graphics,quartz-graphics,sprite,Iphone,Uikit,Core Graphics,Quartz Graphics,Sprite,我想使用加法混合模式绘制图像。但是我不想使用OpenGL。 我找不到任何东西来做这个,也许Quartz2D里有什么东西 谁能给我指出正确的方向吗 干杯, Rich确保存在可用于指定混合操作的enum cBlendMode。 使用方法: CGContextSetBlendMode() 或 更多信息请访问开发者网站: [image drawInRect:CGRectMake(0, 0, width, height) blendMode:mode alpha:1];

我想使用加法混合模式绘制图像。但是我不想使用OpenGL。 我找不到任何东西来做这个,也许Quartz2D里有什么东西

谁能给我指出正确的方向吗

干杯,
Rich

确保存在可用于指定混合操作的enum cBlendMode。 使用方法:

CGContextSetBlendMode()

更多信息请访问开发者网站:

[image drawInRect:CGRectMake(0, 0, width, height) blendMode:mode alpha:1];