Lines Matching defs:x1
242 double x1, y1, x2, y2;
254 x1 = label_offset + (double) bar_num * bar_width + (bar_width * 0.05);
255 x2 = x1 + bar_width * 0.90;
259 cairo_move_to(cr, x1, y1);
260 cairo_line_to(cr, x1, y2);
270 static void graph_draw_common(struct graph *g, cairo_t *cr, double *x1,
278 *x1 = 0.10 * g->xdim;
291 cairo_move_to(cr, offset + *x1, *y1 - offset);
300 cairo_move_to(cr, *x1, *y1);
301 cairo_line_to(cr, *x1, *y2);
304 cairo_line_to(cr, *x1, *y1);
314 double x1, double y1, double x2, double y2,
328 tx = (((tm[i].value) - minx) / (maxx - minx)) * (x2 - x1) + x1;
342 if (x1 - tx > 0.01 || tx - x2 > 0.01)
370 double x1, double y1, double x2, double y2,
409 cairo_move_to(cr, x1, ty);
410 cairo_line_to(cr, x1 - (x2 - x1) * 0.02, ty);
417 cairo_move_to(cr, x1, ty);
426 draw_right_justified_text(cr, g->font, x1 - (x2 - x1) * 0.025, ty, 12.0, tm[i].string);
438 double x1, y1, x2, y2;
447 graph_draw_common(bg, cr, &x1, &y1, &x2, &y2);
450 space_per_label = (x2 - x1) / (double) nlabels;
464 x1 + (x2 - x1) / 2.0,
469 maxdata = graph_draw_y_ticks(bg, cr, x1, y1, x2, y2, mindata, maxdata, 10, 1);
480 draw_centered_text(cr, bg->font, x1 + space_per_label * (i + 0.5), bg->ydim * 0.93,
529 double x1, y1, x2, y2;
539 graph_draw_common(g, cr, &x1, &y1, &x2, &y2);
582 graph_draw_x_ticks(g, cr, x1, y1, x2, y2, gminx, gmaxx, 10, good_data);
583 gmaxy = graph_draw_y_ticks(g, cr, x1, y1, x2, y2, gminy, gmaxy, 10, good_data);
600 tx = ((getx(j) - gminx) / (gmaxx - gminx)) * (x2 - x1) + x1;