home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / demos / gpc / ph_map.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-02-15  |  8.3 KB  |  236 lines

  1. /* $XConsortium: ph_map.h,v 5.2 91/02/16 10:07:49 rws Exp $ */
  2.  
  3. /*
  4.  */
  5. /***********************************************************
  6. Copyright 1989, 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
  7.  
  8.                         All Rights Reserved
  9.  
  10. Permission to use, copy, modify, and distribute this software and its
  11. documentation for any purpose and without fee is hereby granted,
  12. provided that the above copyright notice appear in all copies and that
  13. both that copyright notice and this permission notice appear in
  14. supporting documentation, and that the names of Sun Microsystems,
  15. the X Consortium, and MIT not be used in advertising or publicity
  16. pertaining to distribution of the software without specific, written
  17. prior permission.
  18.  
  19. SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  20. INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
  21. SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
  22. DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  23. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  24. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  25. SOFTWARE.
  26.  
  27. ******************************************************************/
  28.  
  29. /*
  30.  * Copyright (c) 1989, 1990, 1991 by M.I.T. and Sun Microsystems, Inc.
  31.  */
  32.  
  33. /*--------------------------------------------------------------------*\
  34. |
  35. |  Copyright (C) 1989, 1990, 1991, National Computer Graphics Association
  36. |
  37. |  Permission is granted to any individual or institution to use, copy, or
  38. |  redistribute this software so long as it is not sold for profit, provided
  39. |  this copyright notice is retained.
  40. |
  41. |                         Developed for the
  42. |                National Computer Graphics Association
  43. |                         2722 Merrilee Drive
  44. |                         Fairfax, VA  22031
  45. |                           (703) 698-9600
  46. |
  47. |                                by
  48. |                 SimGraphics Engineering Corporation
  49. |                    1137 Huntington Drive  Unit A
  50. |                      South Pasadena, CA  91030
  51. |                           (213) 255-0900
  52. |---------------------------------------------------------------------
  53. |
  54. | Author        :    SimGraphics Engineering Corportation
  55. |
  56. | File          :    ph_map.h
  57. | Date          :    Fri Feb  9 10:46:55 PST 1990
  58. | Project       :    PLB
  59. | Description   :    'C' callable PHIGS+ names defined/extern'd
  60. | Status        :    Version 1.0
  61. |
  62. | Revisions     :
  63. |
  64. |       2/90            MFC Tektronix, Inc.: PEX-SI API implementation.
  65. |
  66. |      12/90            MFC Tektronix, Inc.: PEX-SI PEX5R1 Release.
  67. |
  68. \*--------------------------------------------------------------------*/
  69.  
  70. #ifdef USING_PHIGS
  71. extern void  panno_text_rel3();
  72. extern void  pcopy_all_elems_struct();
  73. extern void  pclose_phigs();
  74. extern void  pclose_struct();
  75. extern void  pclose_ws();
  76. extern void  pdel_elem();
  77. extern void  pdel_elemrange();
  78. extern void  pempty_struct();
  79. extern void  peval_view_map_matrix3();
  80. extern void  peval_view_ori_matrix3();
  81. extern void  pexec_struct();
  82. extern void  pfill_area();
  83. extern void  pfill_area3_data();
  84. extern void  pfill_area_set();
  85. extern void  pfill_area_set3_data();
  86. extern void  pgdp3();
  87. extern void  plabel();
  88. extern void  popen_phigs();
  89. extern void  popen_struct();
  90. extern void  popen_ws();
  91. extern void  poffset_elem_ptr();
  92. extern void  ppolyline();
  93. extern void  ppolyline3();
  94. extern void  ppolymarker();
  95. extern void  ppolymarker3();
  96. extern void  ppost_struct();
  97. extern void  pinq_elem_ptr();
  98. extern void  pset_anno_style();
  99. extern void  pset_anno_align();
  100. extern void  pset_anno_char_ht();
  101. extern void  pset_anno_char_up_vec();
  102. extern void  pset_anno_path();
  103. extern void  pset_back_int_colr();
  104. extern void  pset_back_refl_eqn();
  105. extern void  pset_back_int_shad_meth();
  106. extern void  pset_back_int_style();
  107. extern void  pset_back_int_style_ind();
  108. extern void  pset_char_ht();
  109. extern void  pset_char_space();
  110. extern void  pset_char_up_vec();
  111. extern void  pset_char_expan();
  112. extern void  pset_colr_model();
  113. extern void  pset_colr_rep();
  114. extern void  pset_dcue_ind();
  115. extern void  pset_dcue_rep();
  116. extern void  pset_disp_upd_st();
  117. extern void  pset_edge_colr();
  118. extern void  pset_edge_flag();
  119. extern void  pset_edgetype();
  120. extern void  pset_elem_ptr();
  121. extern void  pset_elem_ptr_label();
  122. extern void  pset_edgewidth();
  123. extern void  pset_global_tran3();
  124. extern void  pset_hlhsr_id();
  125. extern void  pset_hlhsr_mode();
  126. extern void  pset_int_colr();
  127. extern void  pset_refl_eqn();
  128. extern void  pset_int_style();
  129. extern void  pset_int_style_ind();
  130. extern void  pset_int_shad_meth();
  131. extern void  pset_linetype();
  132. extern void  pset_local_tran3();
  133. extern void  pset_light_src_rep();
  134. extern void  pset_light_src_state();
  135. extern void  pset_linewidth();
  136. extern void  pset_marker_type();
  137. extern void  pset_marker_size();
  138. extern void  pset_line_colr();
  139. extern void  pset_line_shad_meth();
  140. extern void  pset_marker_colr();
  141. extern void  pset_of_fill_area_set3_data();
  142. extern void  pset_text_align();
  143. extern void  pset_text_colr();
  144. extern void  pset_text_font();
  145. extern void  pset_text_path();
  146. extern void  pset_text_prec();
  147. extern void  pset_view_rep3();
  148. extern void  pset_view_ind();
  149. extern void  ptext();
  150. extern void  ptext3();
  151. extern void  punpost_struct();
  152. extern void  pupd_ws();
  153. #else /* USING_PHIGS */
  154. #define  panno_text_rel3 noop_function
  155. #define  pcopy_all_elems_struct noop_function
  156. #define  pclose_phigs noop_function
  157. #define  pclose_struct noop_function
  158. #define  pclose_ws noop_function
  159. #define  pdel_elem noop_function
  160. #define  pdel_elemrange noop_function
  161. #define  pempty_struct noop_function
  162. #define  peval_view_map_matrix3 noop_function
  163. #define  peval_view_ori_matrix3 noop_function
  164. #define  pexec_struct noop_function
  165. #define  pfill_area noop_function
  166. #define  pfill_area3_data noop_function
  167. #define  pfill_area_set noop_function
  168. #define  pfill_area_set3_data noop_function
  169. #define  pgdp3 noop_function
  170. #define  plabel noop_function
  171. #define  popen_phigs noop_function
  172. #define  popen_struct noop_function
  173. #define  popen_ws noop_function
  174. #define  poffset_elem_ptr noop_function
  175. #define  ppolyline noop_function
  176. #define  ppolymarker noop_function
  177. #define  ppolymarker3 noop_function
  178. #define  ppost_struct noop_function
  179. #define  pinq_elem_ptr noop_function
  180. #define  pset_anno_style noop_function
  181. #define  pset_anno_align noop_function
  182. #define  pset_anno_char_ht noop_function
  183. #define  pset_anno_char_up_vec noop_function
  184. #define  pset_anno_path noop_function
  185. #define  pset_back_int_colr noop_function
  186. #define  pset_back_refl_eqn noop_function
  187. #define  pset_back_int_shad_meth noop_function
  188. #define  pset_back_int_style noop_function
  189. #define  pset_back_int_style_ind noop_function
  190. #define  pset_char_ht noop_function
  191. #define  pset_char_space noop_function
  192. #define  pset_char_up_vec noop_function
  193. #define  pset_char_expan noop_function
  194. #define  pset_colr_model noop_function
  195. #define  pset_colr_rep noop_function
  196. #define  pset_dcue_ind noop_function
  197. #define  pset_dcue_rep noop_function
  198. #define  pset_disp_upd_st noop_function
  199. #define  pset_edge_colr noop_function
  200. #define  pset_edge_flag noop_function
  201. #define  pset_edgetype noop_function
  202. #define  pset_elem_ptr noop_function
  203. #define  pset_elem_ptr_label noop_function
  204. #define  pset_edgewidth noop_function
  205. #define  pset_global_tran3 noop_function
  206. #define  pset_hlhsr_id noop_function
  207. #define  pset_hlhsr_mode noop_function
  208. #define  pset_int_colr noop_function
  209. #define  pset_refl_eqn noop_function
  210. #define  pset_int_style noop_function
  211. #define  pset_int_style_ind noop_function
  212. #define  pset_int_shad_meth noop_function
  213. #define  pset_linetype noop_function
  214. #define  pset_local_tran3 noop_function
  215. #define  pset_light_src_rep noop_function
  216. #define  pset_light_src_state noop_function
  217. #define  pset_linewidth noop_function
  218. #define  pset_marker_type noop_function
  219. #define  pset_marker_size noop_function
  220. #define  pset_line_colr noop_function
  221. #define  pset_line_shad_meth noop_function
  222. #define  pset_marker_colr noop_function
  223. #define  pset_of_fill_area_set3_data noop_function
  224. #define  pset_text_align noop_function
  225. #define  pset_text_colr noop_function
  226. #define  pset_text_font noop_function
  227. #define  pset_text_path noop_function
  228. #define  pset_text_prec noop_function
  229. #define  pset_view_rep3 noop_function
  230. #define  pset_view_ind noop_function
  231. #define  ptext noop_function
  232. #define  ptext3 noop_function
  233. #define  punpost_struct noop_function
  234. #define  pupd_ws noop_function
  235. #endif /* USING_PHIGS */
  236.