rectification pour vws :

il faut que le shrink ne s'applique que sur la largeur du segment
This commit is contained in:
Franck Wajsburt 2002-07-11 16:56:27 +00:00
parent d596b05150
commit dda1ef9a4d
1 changed files with 4 additions and 4 deletions

View File

@ -143,14 +143,14 @@ rdsrec_list *segmbkrds( Figure, Segment, Lynx )
{
case LEFT : X1R = X1 - DLR;
Y1R = Y1 - ( ( WS + DWR ) >> 1 );
X2R = X2 + DLR - abs(SHRINK);
X2R = X2 + DLR;
Y2R = Y2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK);
break;
case RIGHT : X1R = X1 - DLR;
Y1R = Y1 - ( ( WS + DWR ) >> 1 );
X2R = X2 + DLR - abs(SHRINK);
X2R = X2 + DLR;
Y2R = Y2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK);
break;
@ -158,14 +158,14 @@ rdsrec_list *segmbkrds( Figure, Segment, Lynx )
case DOWN : X1R = X1 - ( ( WS + DWR ) >> 1 );
Y1R = Y1 - DLR;
X2R = X2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK);
Y2R = Y2 + DLR - abs(SHRINK);
Y2R = Y2 + DLR;
break;
case UP : X1R = X1 - ( ( WS + DWR ) >> 1 );
Y1R = Y1 - DLR;
X2R = X2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK);
Y2R = Y2 + DLR - abs(SHRINK);
Y2R = Y2 + DLR;
break;
}