got bit by a bug in freerouter
This commit is contained in:
parent
c38b25194b
commit
f360d5ccb6
|
@ -444,10 +444,10 @@ PADSTACK* SPECCTRA_DB::makePADSTACK( BOARD* aBoard, D_PAD* aPad )
|
||||||
double ddy = scale( aPad->m_DeltaSize.y ) / 2.0;
|
double ddy = scale( aPad->m_DeltaSize.y ) / 2.0;
|
||||||
|
|
||||||
// see class_pad_draw_functions.cpp which draws the trapezoid pad
|
// see class_pad_draw_functions.cpp which draws the trapezoid pad
|
||||||
POINT lowerLeft( -dx - ddy, -dy + ddx );
|
POINT lowerLeft( -dx - ddy, -dy - ddx );
|
||||||
POINT upperLeft( -dx + ddy, +dy - ddx );
|
POINT upperLeft( -dx + ddy, +dy + ddx );
|
||||||
POINT upperRight( +dx - ddy, +dy + ddx );
|
POINT upperRight( +dx - ddy, +dy - ddx );
|
||||||
POINT lowerRight( +dx + ddy, -dy - ddx );
|
POINT lowerRight( +dx + ddy, -dy + ddx );
|
||||||
|
|
||||||
lowerLeft += dsnOffset;
|
lowerLeft += dsnOffset;
|
||||||
upperLeft += dsnOffset;
|
upperLeft += dsnOffset;
|
||||||
|
|
Loading…
Reference in New Issue