Annotation of researchv10no/libplot/libpen/text.c, revision 1.1

1.1     ! root        1: #include "pen.h"
        !             2: text(s)
        !             3: char *s;
        !             4: {
        !             5:        if (*s=='\\') 
        !             6:                switch(*(s+1)) {
        !             7:                case 'C':
        !             8:                        fprintf(pltout,"LO5 ");
        !             9:                        s += 2;
        !            10:                        break;
        !            11:                case 'R':
        !            12:                        fprintf(pltout,"LO8 ");
        !            13:                        s += 2;
        !            14:                        break;
        !            15:                case '\\':
        !            16:                        fprintf(pltout,"LO2 ");
        !            17:                        s++;
        !            18:                        break;
        !            19:                default:
        !            20:                        fprintf(pltout,"LO2 ");
        !            21:                        s += 2;
        !            22:                        break;
        !            23:                }
        !            24:        else fprintf(pltout,"LO2 ");
        !            25:        fprintf(pltout,"LB%s\3\n",s);
        !            26:        ckerr(0);
        !            27: }

unix.superglobalmegacorp.com

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