=================================================================== Modification le : Mon Sep 24 15:54:02 CEST 2001 Par : mai0009 =================================================================== Update of /users/outil/alliance/cvsroot/alliance/sources/ocp/src In directory heller.lip6.fr:/users/dsk03/mai0009/alliance/sources/ocp/src Modified Files: Ocp.cpp PCon.cpp PPlacement.cpp Log Message: connecteurs a priori termine (taille, etc.) =================================================================== Index: Ocp.cpp =================================================================== RCS file: /users/outil/alliance/cvsroot/alliance/sources/ocp/src/Ocp.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -r1.9 -r1.10 136a137 > strcat(IocFile,".ioc"); Index: PCon.cpp =================================================================== RCS file: /users/outil/alliance/cvsroot/alliance/sources/ocp/src/PCon.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -r1.4 -r1.5 18a19,21 > double segx; > double segy; > 24,25c27,28 < (_orient==(NORTH || SOUTH))?ALU3:ALU2, < (int)(PITCH / 5)); --- > ((_orient==NORTH) || (_orient == SOUTH))?ALU3:ALU2, > ((_orient==NORTH) || (_orient == SOUTH))?2 * (int)(PITCH/5):(int)(PITCH/5)); 28a32,60 > > switch (_orient) > { > case NORTH : segx = GetPosX() * PITCH; > segy = (GetPosY() - 1) * PITCH; > break; > > case SOUTH : segx = GetPosX() * PITCH; > segy = (GetPosY() + 1) * PITCH; > break; > > case EAST : segx = (GetPosX() - 1) * PITCH; > segy = GetPosY() * PITCH; > break; > > case WEST : segx = (GetPosX() + 1) * PITCH; > segy = GetPosY() * PITCH; > break; > } > > addphseg(physicalfig, > ((_orient==NORTH) || (_orient==SOUTH))?ALU3:ALU2, > ((_orient==NORTH) || (_orient==SOUTH))?2 * (int)(PITCH/5):(int)(PITCH/5), > (int)(GetPosX() * PITCH), > (int)(GetPosY() * PITCH), =================================================================== Ce message est envoyé au personnes abonnées à alliance-programmers Pour plus d'information sur cette mailling-list, visitez : http://www-asim.lip6.fr/alliance/mailing-lists/