/*=========================================================================== Copyright (C) 1995-2005 European Southern Observatory (ESO) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA. Correspondence concerning ESO-MIDAS should be addressed as follows: Internet e-mail: midas@eso.org Postal address: European Southern Observatory Data Management Division Karl-Schwarzschild-Strasse 2 D 85748 Garching bei Muenchen GERMANY ===========================================================================*/ #include #include static int savdsp, *pin1, *pin2, *pin3, *pin4; ROUTINE IIG1(dsplay,in1,in2,in3,in4) fint2c *dsplay; fint2c *in1; fint2c *in2; fint2c *in3; fint2c *in4; { savdsp = *dsplay; pin1 = in1; pin2 = in2; pin3 = in3; pin4 = in4; return 0; } SUBROUTINE IIG2(string,orient,intens,ht,idst) CHARACTER string; fint2c *orient; fint2c *intens; fint2c *ht; fint2c *idst; { int IIGTXT_C(); char mystring[TEXT_LEN]; /* * Temporary string needs to contain original Fortran string */ oscopy(mystring,CHAR_LOC(string),CHAR_LEN(string)); mystring[CHAR_LEN(string)] = '\0'; *idst = IIGTXT_C(savdsp,*pin1,mystring,*pin2,*pin3, *pin4,*orient,*intens,*ht); return 0; } ROUTINE IIG3(ndim,intens,style,idst) fint2c *ndim; fint2c *intens; fint2c *style; fint2c *idst; { int IIGPLY_C(); *idst = IIGPLY_C(savdsp,*pin1,pin2,pin3,*ndim,*intens,*style); return 0; } ROUTINE IIGCPY(dsplay,chan,append,idst) fint2c *dsplay; fint2c *chan; fint2c *append; fint2c *idst; { int IIGCPY_C(); *idst = IIGCPY_C(*dsplay,*chan,*append); return 0; }