UPDATE: These color values add the shading on top of other content (drawing from a point out to a circle): CGFloat colors = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.75f } Using these color values is pretty close (drawing from a point out to a circle): CGFloat colors = { 0.0f, 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.75f }.
UPDATE: These color values add the shading on top of other content (drawing from a point out to a circle): CGFloat colors = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.75f }; Using these color values is pretty close (drawing from a point out to a circle): CGFloat colors = { 0.0f, 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.75f }.
Let's say I already have a filled circle underneath it that (with an arbitrary colour). How can I draw a gradient over top to approximate the shading? – Shaggy Frog Feb 2 '10 at 9:25 Okay, so given your new set of values, you must be drawing from the inside of the circle out, correct?
Right now I'm drawing from the outside in. (Our two arrays are almost identical that way) – Shaggy Frog Feb 2 '10 at 9:48 Correct. Good point, you did not post that code, so there was no way to know.
What is the issue then? It looks very close... – gerry3 Feb 2 '10 at 9:50 For some reason, to my eye, it seems a little off. Here's the rendering in the simulator (my "end circle" is located around the edge on the right side): shaggyfrog.Com/junk/shaded-circle.
Png How does it look to your eye? – Shaggy Frog Feb 3 '10 at 23:17 1 The default range of all four color components is 0.0 to 1.0. €œ0, 200, 100†is effectively 0.0, 1.0, 1.0, or pure cyan (assuming these are RGBA and not ARGB).
– Peter Hosey Feb 4 '10 at 5:25.
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.