Bugfix in AliPoints2Memory
[u/mrichter/AliRoot.git] / GEANT321 / gdraw / gdlw.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1995/10/24 10:20:23  cernlib
6 * Geant
7 *
8 *
9 #include "geant321/pilot.h"
10 *CMZ :  3.21/02 29/03/94  15.41.26  by  S.Giani
11 *-- Author :
12       SUBROUTINE GDLW(LW)
13 C.
14 C.    ******************************************************************
15 C.    *                                                                *
16 C.    *       Set line width to LW (between 1 to 5) :                  *
17 C.    *       if LW > 0 set line width temporarily                     *
18 C.    *       if LW < 0 set line width permanently                     *
19 C.    *       if LW = 0 restore permanent line width value             *
20 C.    *                                                                *
21 C.    *    ==>Called by : <USER>, <GXINT>, GDHEAD, GDTREE              *
22 C.    *       Author : P.Zanarini ; S.Giani  *********                 *
23 C.    *                                                                *
24 C.    ******************************************************************
25 C.
26 #include "geant321/gcdraw.inc"
27 C.
28 C.    ------------------------------------------------------------------
29 C.
30 ***      LINW=MOD(IABS(LW),8)
31       IF (LW.EQ.0) THEN
32          CALL MVBITS(LINATP,7,3,LINATT,7)
33       ELSE IF (LW.GT.0) THEN
34          CALL MVBITS(LW,0,3,LINATT,7)
35       ELSE
36          CALL MVBITS(LW,0,3,LINATT,7)
37          CALL MVBITS(LW,0,3,LINATP,7)
38       ENDIF
39       END