Quartz 2d shapes, lines, touch detection