Index: trunk/src/polygon.c =================================================================== --- trunk/src/polygon.c (revision 12427) +++ trunk/src/polygon.c (revision 12428) @@ -996,7 +996,7 @@ /* Construct a poly area that represents the enlarged subpoly - so it can be subtracted from the parent poly to form the clearance for subpoly */ -static pcb_polyarea_t *SubtractPolyPoly_construct(pcb_poly_t *subpoly) +pcb_polyarea_t *pcb_poly_clearance_construct(pcb_poly_t *subpoly) { pcb_poly_it_t it; pcb_polyarea_t *ret = NULL, *pa, *lin, *tmp; @@ -1045,7 +1045,7 @@ { if (subpoly->thermal & PCB_THERMAL_ON) return pcb_thermal_area_poly(pcb, subpoly, layernum); - return SubtractPolyPoly_construct(subpoly); + return pcb_poly_clearance_construct(subpoly); } Index: trunk/src/polygon.h =================================================================== --- trunk/src/polygon.h (revision 12427) +++ trunk/src/polygon.h (revision 12428) @@ -78,7 +78,9 @@ pcb_polyarea_t *pcb_poly_from_arc(pcb_arc_t * l, pcb_coord_t thick); pcb_polyarea_t *pcb_poly_from_pin(pcb_pin_t * l, pcb_coord_t thick, pcb_coord_t clear); pcb_polyarea_t *pcb_poly_from_box_bloated(pcb_box_t * box, pcb_coord_t radius); +pcb_polyarea_t *pcb_poly_clearance_construct(pcb_poly_t *subpoly); /* clearance shape for when clearpolypoly is set */ + void pcb_poly_frac_circle(pcb_pline_t *, pcb_coord_t, pcb_coord_t, pcb_vector_t, int); int pcb_poly_init_clip(pcb_data_t * d, pcb_layer_t * l, pcb_poly_t * p); void pcb_poly_restore_to_poly(pcb_data_t *, int, void *, void *);