double p2_y = (l->p2_y + cxt->yoffset)*cxt->yscaling;
double p3_x = (l->p3_x + cxt->xoffset)*cxt->xscaling;
double p3_y = (l->p3_y + cxt->yoffset)*cxt->yscaling;
- #ifdef DEBUG
+ #ifdef DEBUG_DRAW
fprintf(stderr, "draw_lines: p0_x=%g, p0_y=%g, p1_x=%g, p1_y=%g, p2_x=%g, p2_y=%g, p3_x=%g, p3_y=%g\n", p0_x, p0_y, p1_x, p1_y, p2_x, p2_y, p3_x, p3_y);
#endif
cairo_move_to(cxt->cr, p0_x, p0_y);
static void draw(GtkWidget *graph, cairo_t *cr) {
struct drawing_context cxt;
GraphWidget *gw = GRAPH_WIDGET(graph);
- #ifdef DEBUG
+ #ifdef DEBUG_DRAW
fprintf(stderr, "draw(%d, %d)\n", (int)graph, (int)cr);
fprintf(stderr, "allocation.x=%d, allocation.y=%d, allocation.height=%d, allocation.width=%d\n", graph->allocation.x, graph->allocation.y, graph->allocation.height, graph->allocation.width);
#endif