The line drawing algorithms for CG1