/* * Lines * ----- * The program creates three points using the pt function and * then draws lines between them. * * The lines are drawn using the default colour which is Black * and the defaut line width which is one pixel. * * Drawing will automatically create and show a window if there * is no currently visible window. */ #include void main(void) { point a = pt(10,10); point b = pt(10,40); point c = pt(50,40); drawline(a, b); drawline(b, c); drawline(c, a); }