Core Graphics:Lines,Rect and Gradients