Index: rotate.c =================================================================== --- rotate.c (revision 5001) +++ rotate.c (revision 5002) @@ -75,21 +75,6 @@ PCB_COORD_ROTATE90(Point->X, Point->Y, X, Y, Number); } -/* --------------------------------------------------------------------------- - * rotates a box in 90 degree steps - */ -void pcb_box_rotate90(pcb_box_t *Box, pcb_coord_t X, pcb_coord_t Y, unsigned Number) -{ - pcb_coord_t x1 = Box->X1, y1 = Box->Y1, x2 = Box->X2, y2 = Box->Y2; - - PCB_COORD_ROTATE90(x1, y1, X, Y, Number); - PCB_COORD_ROTATE90(x2, y2, X, Y, Number); - Box->X1 = MIN(x1, x2); - Box->Y1 = MIN(y1, y2); - Box->X2 = MAX(x1, x2); - Box->Y2 = MAX(y1, y2); -} - /* ---------------------------------------------------------------------- * rotates an objects at the cursor position as identified by its ID * the center of rotation is determined by the current cursor location