Home
last modified time | relevance | path

Searched refs:max (Results 1 – 16 of 16) sorted by relevance

/potrace-1.14/src/
H A Dprogress.h18 double min, max; /* desired range of progress, e.g. 0.0 to 1.0 */ member
32 d_scaled = prog->min * (1-d) + prog->max * d; in progress_update()
34 prog->callback(prog->min * (1-d) + prog->max * d, prog->data); in progress_update()
44 double min, max; in progress_subrange_start() local
51 min = prog->min * (1-a) + prog->max * a; in progress_subrange_start()
52 max = prog->min * (1-b) + prog->max * b; in progress_subrange_start()
54 if (max - min < prog->epsilon) { in progress_subrange_start()
63 sub->max = max; in progress_subrange_start()
H A Dbbox.c22 static void interval(interval_t *i, double min, double max) { in interval() argument
24 i->max = max; in interval()
36 } else if (x > i->max) { in extend()
37 i->max = x; in extend()
42 return i->min <= x && x <= i->max; in in_interval()
H A Dbitmap_io.c151 int w, h, max; in bm_readbody_pnm() local
198 max = readnum(f); in bm_readbody_pnm()
199 if (max<1) { in bm_readbody_pnm()
218 max = readnum(f); in bm_readbody_pnm()
219 if (max<1) { in bm_readbody_pnm()
264 max = readnum(f); in bm_readbody_pnm()
265 if (max<1) { in bm_readbody_pnm()
280 if (max>=256) { in bm_readbody_pnm()
295 max = readnum(f); in bm_readbody_pnm()
296 if (max<1) { in bm_readbody_pnm()
[all …]
H A Dgreymap.c319 int w, h, max; in gm_readbody_pnm() local
366 max = readnum(f); in gm_readbody_pnm()
367 if (max<1) { in gm_readbody_pnm()
386 max = readnum(f); in gm_readbody_pnm()
387 if (max<1) { in gm_readbody_pnm()
434 max = readnum(f); in gm_readbody_pnm()
435 if (max<1) { in gm_readbody_pnm()
450 if (max>=256) { in gm_readbody_pnm()
465 max = readnum(f); in gm_readbody_pnm()
466 if (max<1) { in gm_readbody_pnm()
[all …]
H A Dbackend_xfig.c162 int max =0; in xfig_get_depth() local
167 if (d > max) { in xfig_get_depth()
168 max = d; in xfig_get_depth()
171 return max + 1; in xfig_get_depth()
H A Dtrans.c119 if (i.min == i.max) { in trans_tighten()
121 i.max = i.min+0.5; in trans_tighten()
124 r->bb[j] = i.max - i.min; in trans_tighten()
H A Dauxiliary.h70 #undef max
76 #define max(a,b) ((a)>(b) ? (a) : (b)) macro
H A Dpotracelib.c63 prog.max = param->progress.max; in potrace_trace()
H A Dbackend_eps.c252 M = max(10, max(abs(v[i1].x-v[i].x), abs(v[i1].y-v[i].y))); in eps_path_short()
264 M = max(10, max(max(abs(q[i].x-v[i].x), abs(q[i].y-v[i].y)), in eps_path_short()
265 max(abs(v[i].x-q[i1].x), abs(v[i].y-q[i1].y)))); in eps_path_short()
H A Dprogress_bar.c90 prog->max = 1.0; in init_vt100_progress()
183 prog->max = 1.0; in init_simplified_progress()
H A Dbbox.h12 double min, max; member
H A Dpotracelib.h31 double min, max; /* desired range of progress, e.g. 0.0 to 1.0 */ member
H A Drender.c236 dd = 6*sqrt(max(dd0, dd1)); in render_curveto()
H A Dmain.c936 maxwidth = max(info.paperwidth - 144, info.paperwidth * 0.75); in calc_dimensions()
937 maxheight = max(info.paperheight - 144, info.paperheight * 0.75); in calc_dimensions()
/potrace-1.14/doc/
H A Dpotracelib.tex566 \alpha_{max}=0.0&
567 \alpha_{max}=0.6&
568 \alpha_{max}=1.0&
569 \alpha_{max}=1.2&
570 \alpha_{max}=1.3
608 double min, max;
620 \verb!min!\ldots\verb!max!.
631 $\verb!data!=\textrm{NULL}$, $\verb!min!=0.0$, $\verb!max!=1.0$, and
/potrace-1.14/m4/
H A Dlibtool.m41699 # the test eventually succeeds (with a max line length of 256k).