enable to draw simple lines using Core Graphics