Annotation of 42BSD/usr.lib/lib2648/draw.c, revision 1.1

1.1     ! root        1: /*     draw.c  4.1     83/03/09        */
        !             2: /*
        !             3:  * draw a line from the current place to (x,y).  Such lines are
        !             4:  * supposed to be horizontal, and are affected by the current mode.
        !             5:  */
        !             6: 
        !             7: #include "2648.h"
        !             8: 
        !             9: draw(x, y)
        !            10: {
        !            11: #ifdef TRACE
        !            12:        if (trace) {
        !            13:                fprintf(trace, "draw(%d,%d)\n", x, y);
        !            14:        }
        !            15: #endif
        !            16:        sync();
        !            17:        escseq(ESCP);
        !            18:        motion(x, y);
        !            19:        _supx = x;
        !            20:        _supy = y;
        !            21: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.