File: util.h

package info (click to toggle)
pcb-rnd 3.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 29,624 kB
  • sloc: ansic: 197,571; yacc: 6,153; sh: 5,808; awk: 2,708; makefile: 2,139; lex: 1,107; python: 519; xml: 261; lisp: 169; tcl: 67; perl: 34; javascript: 6; ruby: 5
file content (7 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#include "data.h"

/* calculate the bounding box of all selections/founds in data, return the number
   of selected objects. When returns 0, the dst box is infinitely large. */
rnd_cardinal_t pcb_get_selection_bbox(rnd_box_t *dst, const pcb_data_t *data);
rnd_cardinal_t pcb_get_found_bbox(rnd_box_t *dst, const pcb_data_t *data);