Index: trunk/doc-rnd/hacking/renames =================================================================== --- trunk/doc-rnd/hacking/renames (revision 4957) +++ trunk/doc-rnd/hacking/renames (revision 4958) @@ -566,3 +566,4 @@ MOVE_TEXT_LOWLEVEL -> pcb_text_move TEXT_IS_VISIBLE -> pcb_text_is_visible MOVE_ARC_LOWLEVEL -> pcb_arc_move +MOVE_LINE_LOWLEVEL -> pcb_line_move Index: trunk/src/font.c =================================================================== --- trunk/src/font.c (revision 4957) +++ trunk/src/font.c (revision 4958) @@ -96,7 +96,7 @@ /* move symbol to left edge */ for (line = symbol->Line, j = symbol->LineN; j; j--, line++) - MOVE_LINE_LOWLEVEL(line, -minx, 0); + pcb_line_move(line, -minx, 0); /* set symbol bounding box with a minimum cell size of (1,1) */ symbol->Width = maxx - minx + 1; @@ -113,7 +113,7 @@ if (symbol->Valid) { symbol->Height -= totalminy; for (line = symbol->Line, j = symbol->LineN; j; j--, line++) - MOVE_LINE_LOWLEVEL(line, 0, -totalminy); + pcb_line_move(line, 0, -totalminy); } /* setup the box for the default symbol */ Index: trunk/src/obj_elem.c =================================================================== --- trunk/src/obj_elem.c (revision 4957) +++ trunk/src/obj_elem.c (revision 4958) @@ -997,7 +997,7 @@ r_delete_entry(Data->element_tree, (pcb_box_t *) Element); ELEMENTLINE_LOOP(Element); { - MOVE_LINE_LOWLEVEL(line, DX, DY); + pcb_line_move(line, DX, DY); } END_LOOP; PIN_LOOP(Element); Index: trunk/src/obj_line.c =================================================================== --- trunk/src/obj_line.c (revision 4957) +++ trunk/src/obj_line.c (revision 4958) @@ -397,7 +397,7 @@ EraseLine(Line); RestoreToPolygon(PCB->Data, PCB_TYPE_LINE, Layer, Line); r_delete_entry(Layer->line_tree, (pcb_box_t *) Line); - MOVE_LINE_LOWLEVEL(Line, ctx->move.dx, ctx->move.dy); + pcb_line_move(Line, ctx->move.dx, ctx->move.dy); r_insert_entry(Layer->line_tree, (pcb_box_t *) Line, 0); ClearFromPolygon(PCB->Data, PCB_TYPE_LINE, Layer, Line); if (Layer->On) { Index: trunk/src/obj_line.h =================================================================== --- trunk/src/obj_line.h (revision 4957) +++ trunk/src/obj_line.h (revision 4958) @@ -69,7 +69,7 @@ /* Rather than mode the line bounding box, we set it so the point bounding * boxes are updated too. */ -#define MOVE_LINE_LOWLEVEL(l,dx,dy) \ +#define pcb_line_move(l,dx,dy) \ { \ pcb_coord_t __dx__ = (dx), __dy__ = (dy); \ pcb_line_t *__l__ = (l); \ Index: trunk/src_plugins/autocrop/autocrop.c =================================================================== --- trunk/src_plugins/autocrop/autocrop.c (revision 4957) +++ trunk/src_plugins/autocrop/autocrop.c (revision 4958) @@ -81,7 +81,7 @@ RestoreToPolygon(Data, PCB_TYPE_LINE, Layer, Line); r_delete_entry(Layer->line_tree, (pcb_box_t *) Line); } - MOVE_LINE_LOWLEVEL(Line, dx, dy); + pcb_line_move(Line, dx, dy); if (Data) { r_insert_entry(Layer->line_tree, (pcb_box_t *) Line, 0); ClearFromPolygon(Data, PCB_TYPE_LINE, Layer, Line);