Annotation of researchv10no/libj/track.c, revision 1.1

1.1     ! root        1: #include "jerq.h"
        !             2: #include "io.h"
        !             3: #include "commands.h"
        !             4: 
        !             5: Point trackarc(arg1, arg2, arg3, arg4, arg5)
        !             6: int arg1;
        !             7: int arg2;
        !             8: Point arg3;
        !             9: Point arg4;
        !            10: Point arg5;
        !            11: {
        !            12:        sendCommand(CCTRACKARC);
        !            13:        sendInt(arg1);
        !            14:        sendInt(arg2);
        !            15:        sendPoint(arg3);
        !            16:        sendPoint(arg4);
        !            17:        sendPoint(arg5);
        !            18:        flush();
        !            19:        clearMouseQ();
        !            20:        return recPoint();
        !            21: }
        !            22: 
        !            23: Point trackcircle(arg1, arg2, arg3, arg4)
        !            24: int arg1;
        !            25: int arg2;
        !            26: Point arg3;
        !            27: int arg4;
        !            28: {
        !            29:        sendCommand(CCTRACKCIRCLE);
        !            30:        sendInt(arg1);
        !            31:        sendInt(arg2);
        !            32:        sendPoint(arg3);
        !            33:        sendInt(arg4);
        !            34:        flush();
        !            35:        clearMouseQ();
        !            36:        return recPoint();
        !            37: }
        !            38: 
        !            39: Point trackdisc(arg1, arg2, arg3, arg4)
        !            40: int arg1;
        !            41: int arg2;
        !            42: Point arg3;
        !            43: int arg4;
        !            44: {
        !            45:        sendCommand(CCTRACKDISC);
        !            46:        sendInt(arg1);
        !            47:        sendInt(arg2);
        !            48:        sendPoint(arg3);
        !            49:        sendInt(arg4);
        !            50:        flush();
        !            51:        clearMouseQ();
        !            52:        return recPoint();
        !            53: }
        !            54: 
        !            55: Point trackelarc(arg1, arg2, arg3, arg4, arg5, arg6, arg7)
        !            56: int arg1;
        !            57: int arg2;
        !            58: Point arg3;
        !            59: int arg4;
        !            60: int arg5;
        !            61: Point arg6;
        !            62: Point arg7;
        !            63: {
        !            64:        sendCommand(CCTRACKELARC);
        !            65:        sendInt(arg1);
        !            66:        sendInt(arg2);
        !            67:        sendPoint(arg3);
        !            68:        sendInt(arg4);
        !            69:        sendInt(arg5);
        !            70:        sendPoint(arg6);
        !            71:        sendPoint(arg7);
        !            72:        flush();
        !            73:        clearMouseQ();
        !            74:        return recPoint();
        !            75: }
        !            76: 
        !            77: Point trackeldisc(arg1, arg2, arg3, arg4, arg5)
        !            78: int arg1;
        !            79: int arg2;
        !            80: Point arg3;
        !            81: int arg4;
        !            82: int arg5;
        !            83: {
        !            84:        sendCommand(CCTRACKELDISC);
        !            85:        sendInt(arg1);
        !            86:        sendInt(arg2);
        !            87:        sendPoint(arg3);
        !            88:        sendInt(arg4);
        !            89:        sendInt(arg5);
        !            90:        flush();
        !            91:        clearMouseQ();
        !            92:        return recPoint();
        !            93: }
        !            94: 
        !            95: Point trackellipse(arg1, arg2, arg3, arg4, arg5)
        !            96: int arg1;
        !            97: int arg2;
        !            98: Point arg3;
        !            99: int arg4;
        !           100: int arg5;
        !           101: {
        !           102:        sendCommand(CCTRACKELLIPSE);
        !           103:        sendInt(arg1);
        !           104:        sendInt(arg2);
        !           105:        sendPoint(arg3);
        !           106:        sendInt(arg4);
        !           107:        sendInt(arg5);
        !           108:        flush();
        !           109:        clearMouseQ();
        !           110:        return recPoint();
        !           111: }
        !           112: 
        !           113: Point trackline(arg1, arg2, arg3, arg4)
        !           114: int arg1;
        !           115: int arg2;
        !           116: Point arg3;
        !           117: Point arg4;
        !           118: {
        !           119:        sendCommand(CCTRACKLINE);
        !           120:        sendInt(arg1);
        !           121:        sendInt(arg2);
        !           122:        sendPoint(arg3);
        !           123:        sendPoint(arg4);
        !           124:        flush();
        !           125:        clearMouseQ();
        !           126:        return recPoint();
        !           127: }
        !           128: 
        !           129: Point trackrect(arg1, arg2, arg3)
        !           130: int arg1;
        !           131: int arg2;
        !           132: Rectangle arg3;
        !           133: {
        !           134:        sendCommand(CCTRACKRECT);
        !           135:        sendInt(arg1);
        !           136:        sendInt(arg2);
        !           137:        sendRectangle(arg3);
        !           138:        flush();
        !           139:        clearMouseQ();
        !           140:        return recPoint();
        !           141: }
        !           142: 
        !           143: Point trackrectf(arg1, arg2, arg3)
        !           144: int arg1;
        !           145: int arg2;
        !           146: Rectangle arg3;
        !           147: {
        !           148:        sendCommand(CCTRACKRECTF);
        !           149:        sendInt(arg1);
        !           150:        sendInt(arg2);
        !           151:        sendRectangle(arg3);
        !           152:        flush();
        !           153:        clearMouseQ();
        !           154:        return recPoint();
        !           155: }
        !           156: 
        !           157: Point trackstring(arg1, arg2, arg3, arg4, arg5)
        !           158: int arg1;
        !           159: int arg2;
        !           160: Point arg3;
        !           161: char *arg4;
        !           162: Font *arg5;
        !           163: {
        !           164:        sendCommand(CCTRACKSTRING);
        !           165:        sendInt(arg1);
        !           166:        sendInt(arg2);
        !           167:        sendPoint(arg3);
        !           168:        sendToChar(arg4);
        !           169:        sendToFont(arg5);
        !           170:        flush();
        !           171:        clearMouseQ();
        !           172:        return recPoint();
        !           173: }
        !           174: 

unix.superglobalmegacorp.com

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