line rendering/clipping