rectification pour vws :
il faut que le shrink ne s'applique que sur la largeur du segment
This commit is contained in:
parent
d596b05150
commit
dda1ef9a4d
|
@ -143,14 +143,14 @@ rdsrec_list *segmbkrds( Figure, Segment, Lynx )
|
||||||
{
|
{
|
||||||
case LEFT : X1R = X1 - DLR;
|
case LEFT : X1R = X1 - DLR;
|
||||||
Y1R = Y1 - ( ( WS + DWR ) >> 1 );
|
Y1R = Y1 - ( ( WS + DWR ) >> 1 );
|
||||||
X2R = X2 + DLR - abs(SHRINK);
|
X2R = X2 + DLR;
|
||||||
Y2R = Y2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK);
|
Y2R = Y2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RIGHT : X1R = X1 - DLR;
|
case RIGHT : X1R = X1 - DLR;
|
||||||
Y1R = Y1 - ( ( WS + DWR ) >> 1 );
|
Y1R = Y1 - ( ( WS + DWR ) >> 1 );
|
||||||
X2R = X2 + DLR - abs(SHRINK);
|
X2R = X2 + DLR;
|
||||||
Y2R = Y2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK);
|
Y2R = Y2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
@ -158,14 +158,14 @@ rdsrec_list *segmbkrds( Figure, Segment, Lynx )
|
||||||
case DOWN : X1R = X1 - ( ( WS + DWR ) >> 1 );
|
case DOWN : X1R = X1 - ( ( WS + DWR ) >> 1 );
|
||||||
Y1R = Y1 - DLR;
|
Y1R = Y1 - DLR;
|
||||||
X2R = X2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK);
|
X2R = X2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK);
|
||||||
Y2R = Y2 + DLR - abs(SHRINK);
|
Y2R = Y2 + DLR;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case UP : X1R = X1 - ( ( WS + DWR ) >> 1 );
|
case UP : X1R = X1 - ( ( WS + DWR ) >> 1 );
|
||||||
Y1R = Y1 - DLR;
|
Y1R = Y1 - DLR;
|
||||||
X2R = X2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK);
|
X2R = X2 + ( ( WS + DWR ) >> 1 ) - abs(SHRINK);
|
||||||
Y2R = Y2 + DLR - abs(SHRINK);
|
Y2R = Y2 + DLR;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue