M_PI               25 lib/gfxpoly/stroke.c     if(a2<a1) a2+=M_PI*2;
M_PI               28 lib/gfxpoly/stroke.c     int steps = ceil(8*d/(M_PI*2)); // we use 8 splines for a full circle
M_PI               88 lib/gfxpoly/stroke.c 	    if(lastw<0) lastw+=M_PI*2;
M_PI               97 lib/gfxpoly/stroke.c 	    if(w<0) w+=M_PI*2;
M_PI              102 lib/gfxpoly/stroke.c 		if(d>=0 && d<M_PI) turn=LEFT;
M_PI              103 lib/gfxpoly/stroke.c 		else if(d<0 && d>-M_PI) turn=RIGHT;
M_PI              104 lib/gfxpoly/stroke.c 		else if(d>=M_PI) {turn=RIGHT;}
M_PI              105 lib/gfxpoly/stroke.c 		else if(d<=-M_PI) {turn=LEFT;d+=M_PI*2;}
M_PI              110 lib/gfxpoly/stroke.c 		    draw_arc(draw, p[pos].x, p[pos].y, lastw-M_PI/2, w-M_PI/2, width);
M_PI              112 lib/gfxpoly/stroke.c 		    double xw = M_PI/2 - d/2;
M_PI              114 lib/gfxpoly/stroke.c 			double r2 = 1.0 / sin(M_PI/2-d/2);
M_PI              117 lib/gfxpoly/stroke.c 			    double addx = cos(lastw-M_PI/2+d/2)*r2;
M_PI              118 lib/gfxpoly/stroke.c 			    double addy = sin(lastw-M_PI/2+d/2)*r2;
M_PI              125 lib/gfxpoly/stroke.c 	    double addx = cos(w-M_PI/2)*width;
M_PI              126 lib/gfxpoly/stroke.c 	    double addy = sin(w-M_PI/2)*width;
M_PI              139 lib/gfxpoly/stroke.c 	    double c = cos(lastw-M_PI/2)*width;
M_PI              140 lib/gfxpoly/stroke.c 	    double s = sin(lastw-M_PI/2)*width;
M_PI              145 lib/gfxpoly/stroke.c 		draw_arc(draw, p[pos].x, p[pos].y, lastw-M_PI/2, lastw+M_PI/2, width);
M_PI              147 lib/gfxpoly/stroke.c 		double c = cos(lastw-M_PI/2)*width;
M_PI              148 lib/gfxpoly/stroke.c 		double s = sin(lastw-M_PI/2)*width;
M_PI              154 lib/gfxpoly/stroke.c 	    lastw += M_PI; // for dots
M_PI              334 lib/pdf/bbox.c 	sintab[t] = sin(t*M_PI/128);
M_PI              335 lib/pdf/bbox.c 	costab[t] = cos(t*M_PI/128);
M_PI               38 lib/pdf/xpdf/Gfx.cc #ifndef M_PI
M_PI             2486 lib/pdf/xpdf/Gfx.cc     n = (int)(M_PI / acos(1 - 0.1 / t));
M_PI             2566 lib/pdf/xpdf/Gfx.cc 	angle = ((double)k / (double)n) * 2 * M_PI;
M_PI             2574 lib/pdf/xpdf/Gfx.cc 	angle = -((double)k / (double)n) * 2 * M_PI;
M_PI             2582 lib/pdf/xpdf/Gfx.cc       state->moveTo(xa + ra * cos(alpha + theta + 0.5 * M_PI),
M_PI             2583 lib/pdf/xpdf/Gfx.cc 		    ya + ra * sin(alpha + theta + 0.5 * M_PI));
M_PI             2585 lib/pdf/xpdf/Gfx.cc 	angle = alpha + theta + 0.5 * M_PI
M_PI             2586 lib/pdf/xpdf/Gfx.cc 	  - ((double)k / (double)n) * (2 * theta + M_PI);
M_PI             2590 lib/pdf/xpdf/Gfx.cc 	angle = alpha - theta - 0.5 * M_PI
M_PI             2591 lib/pdf/xpdf/Gfx.cc 	  + ((double)k / (double)n) * (2 * theta - M_PI);
M_PI             2597 lib/pdf/xpdf/Gfx.cc       state->moveTo(xa + ra * cos(alpha + theta + 0.5 * M_PI),
M_PI             2598 lib/pdf/xpdf/Gfx.cc 		    ya + ra * sin(alpha + theta + 0.5 * M_PI));
M_PI             2600 lib/pdf/xpdf/Gfx.cc 	angle = alpha + theta + 0.5 * M_PI
M_PI             2601 lib/pdf/xpdf/Gfx.cc 	        + ((double)k / (double)n) * (-2 * theta + M_PI);
M_PI             2605 lib/pdf/xpdf/Gfx.cc 	angle = alpha - theta - 0.5 * M_PI
M_PI             2606 lib/pdf/xpdf/Gfx.cc 	        + ((double)k / (double)n) * (2 * theta + M_PI);
M_PI             2646 lib/pdf/xpdf/Gfx.cc 	angle = ((double)k / (double)n) * 2 * M_PI;
M_PI             2678 lib/pdf/xpdf/Gfx.cc 	angle = ((double)k / (double)n) * 2 * M_PI;
M_PI              890 src/swfc-history.c     	    return 2 * M_PI - acos(dX / radius);
M_PI              893 src/swfc-history.c     	    return M_PI - acos(-dX / radius);
M_PI              895 src/swfc-history.c     	    return M_PI + acos(-dX / radius);
M_PI              905 src/swfc-history.c     	    	    return angle2 - angle1 - 2 * M_PI;
M_PI              910 src/swfc-history.c     	    	    return 2 * M_PI - angle1 + angle2;
M_PI              978 src/swfc-history.c     	    if ((short_arc && fabs(delta_angle) <= M_PI) || (! short_arc && fabs(delta_angle) >= M_PI))
M_PI             1066 src/swfc-history.c     	    	    nextState->params.pathAngle = getAngle(dx, dy) / M_PI * 180;
M_PI             1136 src/swfc-history.c     	    	pathAngle = getAngle(dx, dy) / M_PI * 180;
M_PI              143 src/swfc-interpolation.c     return delta * (1 - cos(fraction * M_PI/2)) + start;
M_PI              167 src/swfc-interpolation.c     return amplitude * pow(2, damping * (fraction - 1)) * sin(fraction * (2 * M_PI) / period) + start;
M_PI              441 src/swfc.c         sx =  p->scalex*cos(p->rotate/360*2*M_PI);
M_PI              442 src/swfc.c         r1 = -p->scalex*sin(p->rotate/360*2*M_PI)+sx*p->shear;
M_PI              443 src/swfc.c         r0 =  p->scaley*sin(p->rotate/360*2*M_PI);
M_PI              444 src/swfc.c         sy =  p->scaley*cos(p->rotate/360*2*M_PI)+r0*p->shear;
M_PI             1192 src/swfc.c         	ccos = cos(-gradient->rotate*2*M_PI/360);
M_PI             1193 src/swfc.c         	csin = sin(-gradient->rotate*2*M_PI/360);
M_PI             3128 src/swfc.c         float angle = parseFloat(lu(args, "angle")) / 180 * M_PI;
M_PI             3158 src/swfc.c         float angle = parseFloat(lu(args, "angle")) / 180 * M_PI;
M_PI             3188 src/swfc.c         float angle = parseFloat(lu(args, "angle")) / 180 * M_PI;