surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, bx + bw, by + bh);
cr = cairo_create (surface);
- cairo_set_line_width(cr, 2);
+ cairo_set_line_width(cr, 1);
cairo_set_source_rgb(cr, 1, 1, 1);
cairo_rectangle (cr, 0, 0, bx + bw, by + bh);
cairo_fill(cr);
size_t j;
size_t k;
- double colors[7][3] =
+ double colors[5][3] =
{
- {1, 0, 0},
{0, 1, 0},
- {0, 0, 1},
{1, 0, 1},
{1, 1, 0},
for (j = 0; j < f->n_elines; j++) {
el = f->elines[j];
- double red = colors[j % 7][0];
- double green = colors[j % 7][1];
- double blue = colors[j % 7][2];
+ double red = colors[j % 5][0];
+ double green = colors[j % 5][1];
+ double blue = colors[j % 5][2];
cairo_set_source_rgb(cr, red, green, blue);