Index: trunk/src/extobj_helper.h =================================================================== --- trunk/src/extobj_helper.h (revision 28904) +++ trunk/src/extobj_helper.h (revision 28905) @@ -112,7 +112,7 @@ PCB_INLINE void pcb_exto_draw_makr(pcb_draw_info_t *info, pcb_subc_t *subc) { - pcb_coord_t x, y, unit = PCB_MM_TO_COORD(1); + pcb_coord_t x, y, unit = PCB_SUBC_AUX_UNIT; if (pcb_subc_get_origin(subc, &x, &y) != 0) return; Index: trunk/src/globalconst.h =================================================================== --- trunk/src/globalconst.h (revision 28904) +++ trunk/src/globalconst.h (revision 28905) @@ -72,8 +72,8 @@ #define PCB_MAX_MODESTACK_DEPTH 16 /* maximum depth of mode stack */ #define PCB_MIN_GRID_DISTANCE 4 /* minimum distance between point to enable grid drawing */ #define PCB_EMARK_SIZE PCB_MIL_TO_COORD(10) /* size of diamond element mark */ +#define PCB_SUBC_AUX_UNIT PCB_MM_TO_COORD(1) /* size of the unit vector for the subc-aux layer */ - /**** Font ***/ /* These are used in debug draw font rendering (e.g. pin names) and reverse scale calculations (e.g. when report is trying to figure how the font Index: trunk/src/obj_subc.c =================================================================== --- trunk/src/obj_subc.c (revision 28904) +++ trunk/src/obj_subc.c (revision 28905) @@ -433,7 +433,7 @@ void pcb_subc_create_aux(pcb_subc_t *sc, pcb_coord_t ox, pcb_coord_t oy, double rot, pcb_bool bottom) { - double unit = PCB_MM_TO_COORD(1); + double unit = PCB_SUBC_AUX_UNIT; double cs, sn; get_aux_layer(sc, 1);