1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  */
   6: 
   7: #ifndef lint
   8: static char sccsid[] = "@(#)draw.c	5.1 (Berkeley) 4/26/85";
   9: #endif not lint
  10: 
  11: /*
  12:  * draw a line from the current place to (x,y).  Such lines are
  13:  * supposed to be horizontal, and are affected by the current mode.
  14:  */
  15: 
  16: #include "2648.h"
  17: 
  18: draw(x, y)
  19: {
  20: #ifdef TRACE
  21:     if (trace) {
  22:         fprintf(trace, "draw(%d,%d)\n", x, y);
  23:     }
  24: #endif
  25:     sync();
  26:     escseq(ESCP);
  27:     motion(x, y);
  28:     _supx = x;
  29:     _supy = y;
  30: }

Defined functions

Defined variables

sccsid defined in line 8; never used
Last modified: 1985-04-26
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 859
Valid CSS Valid XHTML 1.0 Strict