1 /* Copyright (C) 2001-2017 Peter Selinger. 2 This file is part of Potrace. It is free software and it is covered 3 by the GNU General Public License. See the file COPYING for details. */ 4 5 #ifndef BBOX_H 6 #define BBOX_H 7 8 #include "potracelib.h" 9 10 /* an interval [min, max] */ 11 struct interval_s { 12 double min, max; 13 }; 14 typedef struct interval_s interval_t; 15 16 void path_limits(potrace_path_t *path, potrace_dpoint_t dir, interval_t *i); 17 18 #endif /* BBOX_H */ 19