svn path=/trunk/; revision=38407
#define MAX_GRAPHS 5
-#ifndef M_PI
-#define M_PI 3.14159265358979323846264338327
-#endif
-
#define MAX_YSCALE 28
#define LOGARITHMIC_YSCALE 0
#define AUTO_MAX_YSCALE 1
y_pos+0.5,
(gdouble)io->pixels_per_tick/2,
0,
- 2 * M_PI);
+ 2 * G_PI);
gdk_cairo_set_source_color (cr, &io->graphs[i].color);
cairo_fill (cr);
cairo_destroy (cr);
#include "gtk/old-gtk-compat.h"
-#ifndef M_PI
-#define M_PI 3.14159265358979323846264338327
-#endif
-
#define DEFAULT_PIXELS_PER_TICK 2
#define MAX_PIXELS_PER_TICK 4
#define AUTO_MAX_YSCALE 0
yvalue,
POINT_SIZE,
0,
- 2 * M_PI);
+ 2 * G_PI);
cairo_fill(cr);
cairo_destroy(cr);
}
yvalue,
POINT_SIZE,
0,
- 2 * M_PI);
+ 2 * G_PI);
cairo_fill(cr);
cairo_destroy(cr);
yvalue,
POINT_SIZE,
0,
- 2 * M_PI);
+ 2 * G_PI);
cairo_fill(cr);
cairo_destroy(cr);
}
yvalue,
POINT_SIZE,
0,
- 2 * M_PI);
+ 2 * G_PI);
cairo_stroke(cr);
cairo_destroy(cr);
yvalue,
POINT_SIZE,
0,
- 2 * M_PI);
+ 2 * G_PI);
cairo_fill(cr);
cairo_destroy(cr);
}
yvalue,
POINT_SIZE,
0,
- 2 * M_PI);
+ 2 * G_PI);
cairo_fill(cr);
cairo_destroy(cr);
}
yvalue,
POINT_SIZE,
0,
- 2 * M_PI);
+ 2 * G_PI);
cairo_fill(cr);
cairo_destroy(cr);
}
yvalue,
POINT_SIZE,
0,
- 2 * M_PI);
+ 2 * G_PI);
cairo_fill(cr);
cairo_destroy(cr);