Lines Matching refs:ydim
81 unsigned int xdim, ydim;
105 void graph_set_size(struct graph *g, unsigned int xdim, unsigned int ydim)
108 g->ydim = ydim;
117 struct graph *graph_new(unsigned int xdim, unsigned int ydim, const char *font)
123 graph_set_size(g, xdim, ydim);
247 range = (double) bg->ydim * 0.80; /* FIXME */
256 y2 = bg->ydim * 0.90;
280 *y1 = 0.10 * g->ydim;
281 *y2 = 0.90 * g->ydim;
307 draw_centered_text(cr, g->font, g->xdim / 2, g->ydim / 20, 20.0, g->title);
308 draw_centered_text(cr, g->font, g->xdim / 2, g->ydim * 0.97, 14.0, g->xtitle);
309 draw_vertical_centered_text(cr, g->font, g->xdim * 0.02, g->ydim / 2, 14.0, g->ytitle);
479 // draw_centered_text(cr, label_offset + (bar_width / 2.0 + bar_width * 0.1), bg->ydim * 0.93,
480 draw_centered_text(cr, bg->font, x1 + space_per_label * (i + 0.5), bg->ydim * 0.93,
952 int last_y = g->yoffset + g->ydim;