home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / s / stex2-18.zip / SeeTeX / Iptex / imPcodes.h < prev    next >
Text File  |  1990-07-10  |  4KB  |  109 lines

  1. /*
  2.  * Copyright 1989 Chris Torek
  3.  *
  4.  * Permission to use, copy, modify, distribute, and sell this software
  5.  * and its documentation for any purpose is hereby granted without fee,
  6.  * provided that the above copyright notice appear in all copies and that
  7.  * both that copyright notice and this permission notice appear in
  8.  * supporting documentation, and that the name of Chris Torek or M.I.T.
  9.  * not be used in advertising or publicity pertaining to distribution of
  10.  * the software without specific, written prior permission.  Chris
  11.  * Torek and M.I.T. make no representations about the suitability of
  12.  * this software for any purpose.  It is provided "as is" without express
  13.  * or implied warranty.
  14.  *
  15.  * CHRIS TOREK AND M.I.T. DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
  16.  * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  17.  * FITNESS.  IN NO EVENT SHALL CHRIS TOREK OR M.I.T. BE LIABLE FOR ANY
  18.  * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
  19.  * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
  20.  * CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  21.  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  22.  * 
  23.  * Original Author:
  24.  *     Chris Torek
  25.  *     Dept. of Computer Science
  26.  *     Univ. of Maryland
  27.  *     chris@cs.umd.edu
  28.  */ 
  29. /* imPRESS command codes */
  30.  
  31. #define    imP_SP        128    /* advance one space */
  32. #define imP_SP1        129    /* advance one space plus 1 pixel */
  33.  
  34. #define imP_OLD_MMOVE   130
  35. #define imP_Forw    131    /* one pixel forward */
  36. #define imP_Backw    132    /* one pixel backward */
  37. #define imP_MMove    133    /* move in main advance dir. */
  38. #define imP_SMove    134    /* move in secondary advance dir. */
  39. #define imP_SetHAbs    135    /* set absolute H pos */
  40. #define imP_SetHRel    136    /* set relative H pos */
  41. #define imP_SetVAbs    137    /* set absolute V pos */
  42. #define imP_SetVRel    138    /* set relative V pos */
  43.  
  44. /*
  45.  *    rephrase for imagen1-special.c
  46.  */
  47. #define imP_SET_ABS_H    135    /* set absolute H pos */
  48. #define imP_SET_REL_H    136    /* set relative H pos */
  49. #define imP_SET_ABS_V    137    /* set absolute V pos */
  50. #define imP_SET_REL_V    138    /* set relative V pos */
  51.  
  52. #define CIRC_ARC    150
  53. #define ELLIPSE_ARC    151
  54. #define CIRC_SEGM    160
  55.  
  56. #define imSRULE        192
  57. #define imP_Rule    193    /* print a rule */
  58.  
  59. #define imP_SET_HPOS    195
  60. #define imP_SET_VPOS    196
  61. #define imP_CRLF    197    /* move to begin. of line */
  62. #define imP_SGLY    198
  63.  
  64. #define imP_DefGlyph    199    /* define a glyph */
  65.  
  66. #define imP_BGLY    199    /* for imagen1-special.c */
  67.  
  68. #define imP_DelGlyph    200    /* mark a glyph for deletion */
  69. #define imP_DELC    201
  70. #define imP_DELF    202
  71.  
  72. #define imP_SetHVSystem    205    /* set the H/V coordinate system */
  73. #define imP_SET_HV_SYSTEM    205    /* for imagen1-special.c */
  74.  
  75. #define imP_SetAdvDirs    206    /* set the advance directions */
  76. #define imP_SetFamily    207    /* use this particular family */
  77. #define imP_SetILSpace    208    /* set the interline spacing */
  78. #define imP_SetBOL    209    /* define the beginning of line */
  79. #define imP_SetSP    210    /* define the space between words */
  80.  
  81. #define imP_CreateFam    211    /* define a family table */
  82. #define imP_PUSH    211    /* for imagen1-special.c */
  83. #define imP_POP        212
  84.  
  85. #define imP_Page    213    /* go to (0,0) */
  86. #define imP_SET_PUSH_MASK    214
  87.  
  88. #define imP_EndPage    219    /* print the current page */
  89.  
  90. #define imP_CREATE_FAMILY_TABLE 221
  91. #define imP_CREATE_MAP    222
  92.  
  93. #define SET_PUM        225
  94.  
  95. #define imP_CREATE_PATH    230
  96. #define imP_SET_TEXTURE    231
  97. #define imP_SET_PEN    232
  98. #define imP_FILL_PATH    233
  99. #define imP_DRAW_PATH    234
  100. #define imP_BITMAP    235
  101. #define imP_SET_MAGN    236
  102.  
  103.  
  104. #define imP_ForceDel    240    /* force glyph deletion */
  105.  
  106. #define imP_DEFINE_MACRO    242
  107. #define imP_EXEC_MACRO        243
  108. #define imP_EOF        255    /* end of document */
  109.