No doubt this might be a duplicate question but I am not able to get proper solution from any post here. So I am posting this as new post with a hope that I get some solution.
I my drawing app I want to give a feature of opacity for lines to be drawn. But when I assign alpha to color, I am getting overlapped points in between the line.
Some where I found that drawing in two views solves this issue, but I was not able to understand the logic behind that.
I am using normal quartz 2d code to draw line on touch events.
See Question&Answers more detail:os