Index: obj_text.h =================================================================== --- obj_text.h (revision 14627) +++ obj_text.h (revision 14628) @@ -33,6 +33,7 @@ #include "obj_common.h" #include "font.h" +#include struct pcb_text_s { PCB_ANYOBJECTFIELDS; @@ -71,6 +72,9 @@ directly under data - useful e.g. on parent attr change */ void pcb_text_dyn_bbox_update(pcb_data_t *data); +/* Append dyntext fmt rendered from the perspective of obj */ +int pcb_append_dyntext(gds_t *dst, pcb_any_obj_t *obj, const char *fmt); + void pcb_text_init(void); void pcb_text_uninit(void);