Annotation of researchv10no/cmd/dimpress/impcodes.h, revision 1.1.1.1

1.1       root        1: 
                      2: /*
                      3:  *
                      4:  * A complete set of Impress opcode definitions up to Version 2.0
                      5:  * Pre-Release. I've removed the following commands which are now
                      6:  * obsolete and should not be used:
                      7:  *
                      8:  *     AM      130             Move command
                      9:  *     ASRULE  192             Rule command - use ABRULE
                     10:  *     ASETH   195             Horizontal motion - use ASETAH or
                     11:  *                             ASETRH
                     12:  *     ASETV   196             Vertiacl motion - use ASETAV or
                     13:  *                             ASETRV instead.
                     14:  *     ADELG   200             Delete named glyph
                     15:  *     AFGD    240             Force glyph delete
                     16:  *
                     17:  * The ASGLY command is also obsolete but it's I think it's useful so I
                     18:  * haven't removed its definition from this file.
                     19:  *
                     20:  * I've added a few definitions needed for things like graphics and
                     21:  * glyph rotation.
                     22:  *
                     23:  */
                     24: 
                     25: 
                     26: 
                     27: #define        ASP             128             /* space */
                     28: #define        ASP1            129             /* space plus 1 */
                     29: #define        AMPLUS          131             /* mplus */
                     30: #define        AMMINUS         132             /* mminus */
                     31: 
                     32: #define        AMMOVE          133             /* mmove */
                     33: #define        ASMOVE          134             /* smove */
                     34: 
                     35: #define        ASETAH          135             /* set absolute h */
                     36: #define        ASETRH          136             /* set relative h */
                     37: #define        ASETAV          137             /* set absolute v */
                     38: #define        ASETRV          138             /* set relative v */
                     39: 
                     40: #define        ACIRCARC        150             /* circular arc */
                     41: #define        AELLIPSEARC     151             /* ellipse */
                     42: #define        ACIRCSEGM       160             /* circular segment */
                     43: 
                     44: #define        ABRULE          193             /* brule */
                     45: 
                     46: #define        ACRLF           197             /* crlf */
                     47: 
                     48: #define ASGLY          198             /* define small glyph */
                     49: #define        ABGLY           199             /* bgly */
                     50: #define        ADELG           200             /* delete glyph */
                     51: 
                     52: #define        ASETHV          205             /* set hv system */
                     53: #define        ASETAD          206             /* set advance directions */
                     54: 
                     55: #define        ASF             207             /* set family */
                     56: 
                     57: #define        ASETIL          208             /* set inter-line space */
                     58: #define        ASETBOL         209             /* set beginning of line */
                     59: #define        ASETSP          210             /* set sp */
                     60: 
                     61: #define        APUSH           211             /* push */
                     62: #define        APOP            212             /* pop */
                     63: #define        ASETPM          214             /* set push mask */
                     64: 
                     65: #define        APAGE           213             /* page */
                     66: #define        AENDP           219             /* endpage */
                     67: 
                     68: #define        ACFT            221             /* create family table */
                     69: #define        ACM             222             /* create map */
                     70: 
                     71: #define        ASETPUM         225             /* path update mode */
                     72: 
                     73: #define        ASETP           230             /* set path */
                     74: #define        ASETX           231             /* set texture */
                     75: #define        ASETPEN         232             /* set pen */
                     76: #define        AFILLP          233             /* fill path */
                     77: #define        ADRAWP          234             /* draw path */
                     78: #define        ABITMAP         235             /* bitmap */
                     79: #define        ASETMAG         236             /* set magnification */
                     80: 
                     81: #define        ADEFMAC         242             /* define macro */
                     82: #define        AXQTMAC         243             /* execute macro */
                     83: 
                     84: #define        ANOOP           254             /* no op - used for padding */
                     85: #define        AEOF            255             /* eof */
                     86: 
                     87: 
                     88: /*
                     89:  *
                     90:  * A few special definitions needed if we're doing graphics.
                     91:  *
                     92:  */
                     93: 
                     94: 
                     95: #define        WHITE_OP        0
                     96: #define        OPAQUE_OP       3
                     97: #define        OR_OP           7
                     98: #define        BLACK_OP        15
                     99: 
                    100: 
                    101: /*
                    102:  *
                    103:  * Glyphs used in rotated coordinate systems need special treatment.
                    104:  * These defintions didn't fit well in any of the other header files
                    105:  * so I've included them here.
                    106:  *
                    107:  */
                    108: 
                    109: 
                    110: #define ROT_0          0
                    111: #define ROT_90         1
                    112: #define ROT_180                2
                    113: #define ROT_270                3
                    114: #define ROT_COUNT      4               /* for array sizes etc. */
                    115: 
                    116: 

unix.superglobalmegacorp.com

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