aboutsummaryrefslogtreecommitdiff
path: root/src/draw.c
blob: 51cd86240daf5a243c32f9bc5ad247a1436f0f7d (plain)
1
2
3
4
5
6
7
8
#include <cairo/cairo.h>

int fill_bg(cairo_t *c, double x, double y) {
      cairo_set_source_rgb (c, 255.0, 255.0, 255.0);
      cairo_rectangle(c, 0, 0, x, y);
      cairo_fill(c);
      return 0;
}