1: /*
   2:  *  Interpress utilities
   3:  *
   4:  * Copyright (c) 1984, 1985 Xerox Corp.
   5:  *
   6:  *  Written for Xerox Corporation by William LeFebvre
   7:  *  29-May-1984
   8:  *
   9:  * History:
  10:  *	28-apr-85  ed flint	add conditional compilation for vax11-c (vms)
  11:  *				use "" instead of 0 for NULL op-names
  12:  */
  13: 
  14: /*
  15:  *  op_names maps an op-code into an operaton name.
  16:  *
  17:  *  NOTE:  every "0" should be a "NULL", but "0" was used to save horizontal
  18:  *  space.
  19:  */
  20: 
  21: #ifdef vax1c
  22: 
  23: char *op_names[] =
  24: {
  25: "nil", "nop", "", "", "", "", "", "", "", "",
  26: "setxy", "setxyrel", "setxrel", "setyrel", "linetox",
  27:     "linetoy", "space", "get", "iget", "iset",
  28: "fget", "fset", "show", "lineto", "maskstroke", "moveto", "", "", "", "",
  29: "", "", "", "", "", "", "", "", "", "",
  30: "", "", "", "", "", "", "", "", "", "",
  31: "", "", "", "", "", "", "", "", "", "",
  32: "", "", "", "", "", "", "", "", "", "",
  33: "", "", "", "", "", "", "", "", "", "",
  34: "", "", "", "", "", "", "", "", "", "",
  35: "", "", "", "", "", "", "", "", "", "",
  36: "metricMaster", "environmentMaster", "begin", "end", "noPages",
  37:     "pageInstructions", "{", "}", "", "",
  38: "correct", "", "", "", "makesimpleco", "makeco", "makecompiledimage", "", "", "",
  39: "dosavesimplebody", "dobody", "dosavebody", "dosaveallbody", "",
  40:     "", "", "", "", "",
  41: "", "", "", "", "", "", "", "", "", "",
  42: "", "", "", "", "", "", "showandxrel", "findfont", "modifyfont", "finddecompressor",
  43: "findfontvec", "setfont", "", "", "setcorrectmeasure",
  44:     "setcorrecttollerance", "correctmask", "correctspace", "", "getcp",
  45: "maket", "opent", "translate", "rotate", "scale",
  46:     "concat", "scale2", "invert", "concatt", "move",
  47: "trans", "", "", "", "transform", "transformvewc", "roundxy", "roundxyvec", "", "",
  48: "pop", "dup", "", "copy", "roll", "exch", "mark", "unmark", "count", "",
  49: "", "","unmark0", "", "", "", "", "", "", "",
  50: "abs", "add", "and", "ceiling", "div", "eq", "floor", "ge", "gt", "mod",
  51: "mul", "neg", "not", "or", "sub", "trunc", "rem", "round", "eqn", "",
  52: "type", "atan", "cos", "exp", "log", "sin", "sqrt", "max", "min", "",
  53: "", "do", "dosave", "dosaveall", "", "", "", "", "", "if",
  54: "ifcopy", "ifelse", "loop", "", "", "", "", "", "", "",
  55: "frame", "", "", "poolop", "pool", "pget", "pset", "makepool", "nopool", "",
  56: "env", "", "", "", "", "", "", "", "", "",
  57: "", "", "", "", "", "", "", "", "", "",
  58: "", "", "makeveclu", "makevec", "",
  59:     "shape", "openvec", "getprop", "getp", "mergeprop",
  60: "", "", "", "", "", "", "", "", "", "",
  61: "dround", "getcprounded", "", "", "", "", "", "", "", "",
  62: "", "", "", "", "", "", "", "", "", "",
  63: "", "", "", "", "", "", "", "", "", "",
  64: "", "", "", "", "", "", "", "", "", "",
  65: "", "", "", "", "", "", "", "", "", "",
  66: "", "", "", "", "", "", "", "", "", "",
  67: "", "", "", "", "", "", "", "", "", "",
  68: "", "", "", "", "", "", "", "", "", "",
  69: "", "", "", "", "", "", "", "", "", "",
  70: "", "", "", "", "", "", "", "", "", "",
  71: "", "", "curveto", "arcto", "conicto", "", "", "", "", "maskfill",
  72: "maskrectangle", "masktrapezoidx", "masktrapezoidy", "startunderline",
  73:     "makeunderline", "", "","makeoutline", "clipoutline", "cliprectangle",
  74: "", "findcoloroperator", "findcolormodeloperator", "findcolor", "setgray",
  75:     "makegray", "makesampledblack", "makesampledcolor", "", "",
  76: "", "", "", "", "", "", "", "", "", "",
  77: "maskstrokeclosed", "maskvector", "", "", "", "", "", "", "", "",
  78: "makepixelarray", "", "maskpixel"
  79: };
  80: 
  81: #else
  82: 
  83: char *op_names[] =
  84: {
  85: "nil", "nop", 0, 0, 0, 0, 0, 0, 0, 0,
  86: "setxy", "setxyrel", "setxrel", "setyrel", "linetox",
  87:     "linetoy", "space", "get", "iget", "iset",
  88: "fget", "fset", "show", "lineto", "maskstroke", "moveto", 0, 0, 0, 0,
  89: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  90: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  91: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  92: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  93: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  94: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  95: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  96: "metricMaster", "environmentMaster", "begin", "end", "noPages",
  97:     "pageInstructions", "{", "}", 0, 0,
  98: "correct", 0, 0, 0, "makesimpleco", "makeco", "makecompiledimage", 0, 0, 0,
  99: "dosavesimplebody", "dobody", "dosavebody", "dosaveallbody", 0,
 100:     0, 0, 0, 0, 0,
 101: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 102: 0, 0, 0, 0, 0, 0, "showandxrel", "findfont", "modifyfont", "finddecompressor",
 103: "findfontvec", "setfont", 0, 0, "setcorrectmeasure",
 104:     "setcorrecttollerance", "correctmask", "correctspace", 0, "getcp",
 105: "maket", "opent", "translate", "rotate", "scale",
 106:     "concat", "scale2", "invert", "concatt", "move",
 107: "trans", 0, 0, 0, "transform", "transformvewc", "roundxy", "roundxyvec", 0, 0,
 108: "pop", "dup", 0, "copy", "roll", "exch", "mark", "unmark", "count", 0,
 109: 0, 0,"unmark0", 0, 0, 0, 0, 0, 0, 0,
 110: "abs", "add", "and", "ceiling", "div", "eq", "floor", "ge", "gt", "mod",
 111: "mul", "neg", "not", "or", "sub", "trunc", "rem", "round", "eqn", 0,
 112: "type", "atan", "cos", "exp", "log", "sin", "sqrt", "max", "min", 0,
 113: 0, "do", "dosave", "dosaveall", 0, 0, 0, 0, 0, "if",
 114: "ifcopy", "ifelse", "loop", 0, 0, 0, 0, 0, 0, 0,
 115: "frame", 0, 0, "poolop", "pool", "pget", "pset", "makepool", "nopool", 0,
 116: "env", 0, 0, 0, 0, 0, 0, 0, 0, 0,
 117: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 118: 0, 0, "makeveclu", "makevec", 0,
 119:     "shape", "openvec", "getprop", "getp", "mergeprop",
 120: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 121: "dround", "getcprounded", 0, 0, 0, 0, 0, 0, 0, 0,
 122: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 123: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 124: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 125: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 126: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 127: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 128: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 129: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 130: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 131: 0, 0, "curveto", "arcto", "conicto", 0, 0, 0, 0, "maskfill",
 132: "maskrectangle", "masktrapezoidx", "masktrapezoidy", "startunderline",
 133:     "makeunderline", 0, 0,"makeoutline", "clipoutline", "cliprectangle",
 134: 0, "findcoloroperator", "findcolormodeloperator", "findcolor", "setgray",
 135:     "makegray", "makesampledblack", "makesampledcolor", 0, 0,
 136: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 137: "maskstrokeclosed", "maskvector", 0, 0, 0, 0, 0, 0, 0, 0,
 138: "makepixelarray", 0, "maskpixel"
 139: };
 140: 
 141: #endif

Defined variables

op_names defined in line 83; never used
Last modified: 1986-01-25
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 589
Valid CSS Valid XHTML 1.0 Strict