5 * Revision 1.1.1.1 1995/10/24 10:20:29 cernlib
9 #include "geant321/pilot.h"
10 *CMZ : 3.21/02 29/03/94 15.41.27 by S.Giani
12 SUBROUTINE GDZOOM(ZOOMFU,ZOOMFV,UUZ0,VVZ0,UU0,VV0)
14 C. ******************************************************************
16 C. * Zoom by the factors ZOOMFU,ZOOMFV *
17 C. * around screen coordinates UUZ0,VVZ0 *
18 C. * and places the resulting picture at UU0,VV0 *
20 C. * After GDZOOM has been called, any drawing operation *
21 C. * will actually draw accordingly to last GDZOOM parameters *
23 C. * If ZOOMFU or ZOOMFV is 0 (or negative) the zoom *
24 C. * parameters (GZUA,...,GZVC in common GCDRAW) are reset *
26 C. * ==>Called by : <USER>, <GXINT> *
27 C. * Author : P.Zanarini ********* *
29 C. ******************************************************************
31 #include "geant321/gcdraw.inc"
33 C. ------------------------------------------------------------------
35 IF (ZOOMFU.LE.0.OR.ZOOMFV.LE.0) THEN
45 GZUB=(GZUB+GZUC)*ZOOMFU
46 GZVB=(GZVB+GZVC)*ZOOMFV