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 GDXZOO(ISEL1,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. * It is now possible to show in different windows the *
27 C. * `zoomed-views' obtained just clicking in different *
28 C. * points of the main picture or of the zoomed-pictures *
30 C. * ==>Called by : <USER>, <GXINT> *
31 C. * Author: S. Giani *
33 C. ******************************************************************
35 #include "geant321/gcdraw.inc"
37 C. ------------------------------------------------------------------
39 IF (ZOOMFU.LE.0.OR.ZOOMFV.LE.0) THEN
56 CALL IRQLC(1,2,ISTAT,NT,PX,PY)
70 GZUB=(GZUB+GZUC)*ZOOMFU
71 GZVB=(GZVB+GZVC)*ZOOMFV
74 CALL IOPWK(II+1,1,II+1)
77 CALL IRQLC(II+1,2,ISTA2,NT,PX,PY)