Index: obj_subc.h =================================================================== --- obj_subc.h (revision 22245) +++ obj_subc.h (revision 22246) @@ -114,8 +114,12 @@ int pcb_subc_get_origin(pcb_subc_t *sc, pcb_coord_t *x, pcb_coord_t *y); int pcb_subc_get_rotation(pcb_subc_t *sc, double *rot); int pcb_subc_get_side(pcb_subc_t *sc, int *on_bottom); -int pcb_subc_get_host_trans(pcb_subc_t *sc, pcb_host_trans_t *tr); +/* get all the above transformatoins at once. If neg is 0, these are the + raw transofrmations ("what happened to the subc from neutral state"), + if neg is non-zero, these are the transformations back to neutral state. */ +int pcb_subc_get_host_trans(pcb_subc_t *sc, pcb_host_trans_t *tr, int neg); + /* Search for the named subc; name is relative path in hierarchy. Returns NULL if not found */ pcb_subc_t *pcb_subc_by_refdes(pcb_data_t *base, const char *name);