tbafnc
C TBAFNC SOURCE PV 05/09/22 21:26:55 5181 c subroutine utilisee dans tableau *************************************************** * * AFFICHE UNE CHAINE A LA POSITION FX,FY * AVEC LES BONS ENCADREMENTS * *************************************************** > ,ZG,ZD,ZGH,ZGB,ZGG,ZGD,TABTR) * * DEFINITION DES VARIABLES * IMPLICIT INTEGER(I-N) -INC TMNTAB -INC PPARAM -INC CCOPTIO INTEGER FX,FY,ICOUL LOGICAL ZH,ZB,ZG,ZD,ZGH,ZGB,ZGG,ZGD INTEGER NBC REAL RXPOS,RYPOS,HMIN REAL A (2),B (2),TX (2),TY (2),TZ(2) * tz(1)=0 tz(2)=0 * * AFFICHAGE DU CONTENU * CALL CHCOUL (ICOUL) RXPOS = FX * 3.75 - 3.6 + 0.05 IF (ZHORIZ) THEN RYPOS = 21.2 - FY * 0.65 - 0.1 ELSE RYPOS = 29.9 - FY * 0.65 - 0.1 ENDIF * * CALCUL DES COORDONNEES DE LA BOITE * A (1) = (FX - 1) * 3.75 + 0.05 B (1) = FX * 3.75 + 0.05 IF (ZHORIZ) THEN A (2) = 21. - (FY - 1) * 0.65 - 0.1 B (2) = 21. - FY * 0.65 - 0.1 ELSE A (2) = 29.7 - (FY - 1) * 0.65 - 0.1 B (2) = 29.7 - FY * 0.65 - 0.1 ENDIF * * AFFICHAGE DES ENCADREMENTS * ICOUL = TABTR.ILIGC CALL CHCOUL (ICOUL) IF (ZG) THEN TX (1) = A (1) TY (1) = A (2) TX (2) = A (1) TY (2) = B (2) CALL POLRL (2,TX,TY,tz) ENDIF IF (ZH) THEN TX (1) = A (1) TY (1) = A (2) TX (2) = B (1) TY (2) = A (2) CALL POLRL (2,TX,TY,tz) ENDIF IF (ZD) THEN TX (1) = B (1) TY (1) = A (2) TX (2) = B (1) TY (2) = B (2) CALL POLRL (2,TX,TY,tz) ENDIF IF (ZB) THEN TX (1) = A (1) TY (1) = B (2) TX (2) = B (1) TY (2) = B (2) CALL POLRL (2,TX,TY,tz) ENDIF IF (ZGG) THEN TX (1) = A (1)+.05 TY (1) = A (2) TX (2) = A (1)+.05 TY (2) = B (2) CALL POLRL (2,TX,TY,tz) ENDIF IF (ZGH) THEN TX (1) = A (1) TY (1) = A (2)+.05 TX (2) = B (1) TY (2) = A (2)+.05 CALL POLRL (2,TX,TY,tz) ENDIF IF (ZGD) THEN TX (1) = B (1)+.05 TY (1) = A (2) TX (2) = B (1)+.05 TY (2) = B (2) CALL POLRL (2,TX,TY,tz) ENDIF IF (ZGB) THEN TX (1) = A (1) TY (1) = B (2)+.05 TX (2) = B (1) TY (2) = B (2)+.05 CALL POLRL (2,TX,TY,tz) ENDIF ICOUL = TABTR.ITEXC CALL CHCOUL (ICOUL) * END
© Cast3M 2003 - Tous droits réservés.
Mentions légales