home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume8 / xfig2.8 / part02 / func.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-07-02  |  2.6 KB  |  101 lines

  1. /* 
  2.  *    FIG : Facility for Interactive Generation of figures
  3.  *
  4.  *    Copyright (c) 1985 by Supoj Sutanthavibul (supoj@sally.UTEXAS.EDU)
  5.  *      November 1985.
  6.  *
  7.  *    %W%    %G%
  8. */
  9.  
  10. /******************  Functions  ******************/
  11. #define            F_NULL             0
  12. #define            F_ELLIPSE_BY_RAD     1
  13. #define            F_ELLIPSE_BY_DIA     2
  14. #define            F_CIRCLE_BY_RAD     3
  15. #define            F_CIRCLE_BY_DIA     4
  16. #define            F_CIRCULAR_ARC        5
  17. #define            F_POLYLINE        6
  18. #define            F_BOX            7
  19. #define            F_POLYGON        8
  20. #define            F_TEXT            9
  21. #define            F_SPLINE        10
  22. #define            F_CLOSED_SPLINE        11
  23. #define            F_COMPOUND        13
  24. #define            F_INTSPLINE        14
  25. #define            F_CLOSED_INTSPLINE    15
  26. #define            F_ARC_BOX        16
  27.  
  28. #define            F_CREATE        30
  29. #define            F_COPY            31
  30. #define            F_MOVE            32
  31. #define            F_REPEAT        33
  32. #define            F_REMOVE        34
  33. #define            F_MOVE_POINT        35
  34. #define            F_DELETE_POINT        36
  35. #define            F_ADD_POINT        37
  36. #define            F_DELETE_ARROW_HEAD    38
  37. #define            F_ADD_ARROW_HEAD    39
  38. #define            F_FLIP_XAXIS        40
  39. #define            F_FLIP_YAXIS        41
  40. #define            F_ROTATE90        42
  41. #define            F_ROTATE270        43
  42. #define            F_ROTATE        45
  43. #define            F_FLIP            46
  44. #define            F_AUTOARROW        47
  45. #define            F_TURN            48
  46. #define            F_GLUE            51
  47. #define            F_BREAK            52
  48. #define            F_SCALE            53
  49. #define            F_CHANGE_THICK        54
  50. #define            F_CHANGE_STYLE        55
  51. #define            F_CHANGE_TEXT        56
  52. #define                     F_CHANGE                57
  53.  
  54. #define            F_SET_PEN_SIZE        70   /*  set pen size    */
  55. #define            F_SET_LINE_STYLE    71   /*  set line style  */
  56. #define            F_SET_DASH_LINE        72
  57. #define            F_SET_DOTTED_LINE    73
  58. #define            F_SET_SOLID_LINE    74
  59.     
  60. #define            F_READ            101
  61. #define            F_EDIT            103
  62. #define            F_SAVE_IN        104
  63. #define            F_SAVE            105
  64. #define            F_UNDO            107
  65. #define            F_REDISPLAY        109
  66. #define            F_QUIT            111
  67. #define            F_REMOVE_ALL        113
  68. #define            F_SAVE_N_EXIT        115
  69. #define            F_CHDIR            117
  70. #define            F_PWDIR            118
  71. #define            F_SAVE_BITMAP        121
  72. #define            F_STATUS        123
  73. #define            F_PRINT            124
  74. #define            F_LAND            125
  75. #define            F_FONT            126
  76. #define            F_JUST            127
  77. #define            F_SIZE            128
  78. #define            F_PRINTSEL        129
  79.     
  80. /****************  Drawing aids *****************/
  81. #define            F_GRID1            250
  82. #define            F_GRID2            251
  83. #define            F_RULER            252
  84. #define            F_MANHATTAN        253
  85. #define            F_MOUNTAIN        254
  86. #define            F_AUTOF_ARROW        255
  87. #define            F_AUTOB_ARROW        256
  88. #define            F_MAGNET        257
  89. #define            F_FILL            258
  90. #define            F_INCDECTHICK        260    /* increase/decreas line thickness */
  91. #define            F_FILLCOLOR        261    /* darken/lighten area fill color */
  92. #define            F_INCDECRADIUS        263    /* inc/dec round-corner box radius */
  93.  
  94. #define            F_UNCONSTRAINT        270  /*fs*/
  95. #define            F_MOUNTHATTAN        271  /*fs*/
  96.  
  97. #define            F_LATEX_LINE        280  /*fs*/
  98. #define            F_LATEX_ARROW        281  /*fs*/
  99.  
  100. #define            F_NOP            999
  101.