Debian Codegraph @

libsrc/idi/cidi/iig-2.fc

raw
1 /*===========================================================================
2 Copyright (C) 1995-2009 European Southern Observatory (ESO)
3
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License as
6 published by the Free Software Foundation; either version 2 of
7 the License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public
15 License along with this program; if not, write to the Free
16 Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,
17 MA 02139, USA.
18
19 Correspondence concerning ESO-MIDAS should be addressed as follows:
20 Internet e-mail: [email protected]
21 Postal address: European Southern Observatory
22 Data Management Division
23 Karl-Schwarzschild-Strasse 2
24 D 85748 Garching bei Muenchen
25 GERMANY
26 ===========================================================================*/
27
28 /* iii.fc
29
30 .VERSION
31
32 090611 last modif
33
34 */
35
36 #include <stdlib.h>
37 #include <string.h>
38
39
40 char *ptr1;
41 char *strp_pntr();
42
43 /*
44
45 */
46
47 /*==========================================================================*/
48
49 /*** idst = IIGTXT_C(dsplay,chan,string,xpos,ypos,path,orient,intens,ht) ***/
50
51
52 ROUTINE IIG1(dsplay,chan,xpos,ypos,path,orient,intens,ht,idst)
53 int *dsplay;
54 int *chan;
55 int *xpos;
56 int *ypos;
57 int *path;
58 int *orient;
59 int *intens;
60 int *ht;
61 int *idst;
62
63 {
64 int IIGTXT_C();
65
66
67 ptr1 = strp_pntr(1); /* get stripped string of "string" */
68
69 *idst = IIGTXT_C(*dsplay,*chan,ptr1,*xpos,*ypos,*path,*orient,*intens,*ht);
70 return 0;
71 }
72
73 ROUTINE IIGPLY(dsplay,chan,xfig,yfig,ndim,intens,style,idst)
74 int *dsplay;
75 int *chan;
76 int *xfig;
77 int *yfig;
78 int *ndim;
79 int *intens;
80 int *style;
81 int *idst;
82
83 {
84 int IIGPLY_C();
85
86 *idst = IIGPLY_C(*dsplay,*chan,xfig,yfig,*ndim,*intens,*style);
87 return 0;
88 }
89
90 ROUTINE IIGCPY(dsplay,chan,append,idst)
91 int *dsplay;
92 int *chan;
93 int *append;
94 int *idst;
95
96 {
97 int IIGCPY_C();
98
99 *idst = IIGCPY_C(*dsplay,*chan,*append);
100 return 0;
101 }
102