hid/gtk: Add API to convert pcb units into drawing widget coordinates.