Added CappedLine class and renderer.