Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 6 of 6) sorted by relevance

/potrace-1.14/src/
H A Dtrace.c365 dir = (3+3*(pt[mod(i+1,n)].x-pt[i].x)+(pt[mod(i+1,n)].y-pt[i].y))/2; in calc_lon()
553 c = mod(pp->lon[mod(i-1,n)]-1,n); in bestpolygon()
555 c = mod(i+1,n); in bestpolygon()
721 j = mod(i-1,m); in adjust_vertices()
867 j = mod(i+1, m); in smooth()
868 k = mod(i+2, m); in smooth()
937 i1 = mod(i+1, m); in opti_penalty()
938 k1 = mod(k+1, m); in opti_penalty()
945 k1 = mod(k+1, m); in opti_penalty()
1010 k1 = mod(k+1,m); in opti_penalty()
[all …]
H A Dauxiliary.h58 static inline int mod(int a, int n) { in mod() function
H A Dbackend_eps.c251 i1 = mod(i+1,m); in eps_path_short()
263 i1 = mod(i+1,m); in eps_path_short()
383 i1 = mod(i+1, m); in eps_L()
H A Dbackend_dxf.c211 c1 = curve->c[mod(i-1,n)]; in dxf_path()
H A Dgreymap.c24 #define mod(a,n) ((a)>=(n) ? (a)%(n) : (a)>=0 ? (a) : (n)-1-(-1-(a))%(n)) macro
1026 v = mod(v, 510); in gm_writepgm()
/potrace-1.14/
H A Daclocal.m4859 # symlink; some systems play weird games with the mod time of symlinks
860 # (eg FreeBSD returns the mod time of the symlink's containing