Lines Matching refs:y2
242 double x1, y1, x2, y2;
256 y2 = bg->ydim * 0.90;
258 y1 = y2 - (((v - mindata) / domain) * range);
260 cairo_line_to(cr, x1, y2);
261 cairo_line_to(cr, x2, y2);
271 double *y1, double *x2, double *y2)
281 *y2 = 0.90 * g->ydim;
293 cairo_line_to(cr, *x2 + offset, *y2 - offset);
301 cairo_line_to(cr, *x1, *y2);
302 cairo_line_to(cr, *x2, *y2);
314 double x1, double y1, double x2, double y2,
347 cairo_move_to(cr, tx, y2);
348 cairo_line_to(cr, tx, y2 + (y2 - y1) * 0.03);
356 cairo_line_to(cr, tx, y2);
364 draw_centered_text(cr, g->font, tx, y2 * 1.04, 12.0, tm[i].string);
370 double x1, double y1, double x2, double y2,
391 ty = y2 - (((tm[i].value) - miny) / (maxy - miny)) * (y2 - y1);
404 /* really ty < y1 || ty > y2, but protect against rounding */
405 if (y1 - ty > 0.01 || ty - y2 > 0.01)
438 double x1, y1, x2, y2;
447 graph_draw_common(bg, cr, &x1, &y1, &x2, &y2);
465 y1 + (y2 - y1) / 2.0, 20.0, "No good data");
469 maxdata = graph_draw_y_ticks(bg, cr, x1, y1, x2, y2, mindata, maxdata, 10, 1);
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);
601 ty = y2 - ((gety(j) - gminy) / (gmaxy - gminy)) * (y2 - y1);