I suppose you want a single stroke not to darken itself, but still to darken previous strokes (that's how most painting apps work) For this to work, you need two views/buffers, one for the 'current background' and one for the current stroke. Merge the latter with the background when the finger is released You always draw with alpha 1 in the current stroke buffer, but you display and merge it with a lower alpha.
I suppose you want a single stroke not to darken itself, but still to darken previous strokes (that's how most painting apps work). For this to work, you need two views/buffers, one for the 'current background' and one for the current stroke. Merge the latter with the background when the finger is released.
You always draw with alpha 1 in the current stroke buffer, but you display and merge it with a lower alpha.
Yes, that's I want. I just created two views for current stroke and old strokes. It works fine except when I call the function to merge the two views the alpha stays 1.0.Is there a way to change the alpha of a UIImage?
– Aspyn Sep 7 at 14:41 Obviously you have to apply the alpha to the current stroke view when merging it with the old strokes. – Kris Van Bael Sep 7 at 20:34 I obviously knew that but I was asking how to change the alpha of a uiimage BUT I figured it out and you have the correct answer, good job! – Aspyn Sep 9 at 19:41.
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.