fix rendering of box in cairo renderer

This commit is contained in:
Mario Hüttel 2018-07-20 23:29:27 +02:00
parent 40760725b8
commit f765e27ce8

View File

@ -132,6 +132,7 @@ static void render_cell(struct gds_cell *cell, struct cairo_layer *layers, doubl
case GRAPHIC_PATH: case GRAPHIC_PATH:
cairo_stroke(cr); cairo_stroke(cr);
break; break;
case GRAPHIC_BOX:
case GRAPHIC_POLYGON: case GRAPHIC_POLYGON:
cairo_close_path(cr); cairo_close_path(cr);
cairo_fill(cr); cairo_fill(cr);