/*
 *  GRAF_SHRINKBOX				(C) Digital Design 1990
 *
 *  Es wird ein schrumpfendes Rechteck gezeichnet.
 */
#include <gemdefs.h>

int graf_shrinkbox( int gr_sfinx, int gr_sfiny, int gr_sfinwidth,
		    int gr_sfinheight, int gr_sstx, int gr_ssty,
		    int gr_sstwidth, int gr_sstheight )
{
  intin[0] = gr_sfinx;	    /* die X-Koordinate des Endrechtecks	*/
  intin[1] = gr_sfiny;	    /* die Y-Koordinate des Endrechtecks	*/
  intin[2] = gr_sfinwidth;  /* die Breite des Endrechtecks		*/
  intin[3] = gr_sfinheight; /* die H”he des Endrechtecks		*/
  intin[4] = gr_sstx;	   /* die X-Koordinate des Anfangsrechtecks	*/
  intin[5] = gr_ssty;	   /* die Y-Koordinate des Anfangsrechtecks	*/
  intin[6] = gr_sstwidth;  /* die Breite des Anfangsrechtecks		*/
  intin[7] = gr_sstheight; /* die H”he des Anfangsrechtecks		*/

  AES( 74, 8, 1, 0, 0 );

  return intout[0]; /* = gr_sreturn: positiv bei Erfolg, 0 bei Fehler	*/
}
/* siehe auch: İgraf_growboxİGRAF_GRO.Cİ */

