Fix open path are closed
This commit is contained in:
parent
3307b1b22a
commit
43d13d3d89
|
@ -272,8 +272,8 @@ create_path(cairo_t* cr, cairo_path_t** path, hvif_path* hvif_path)
|
||||||
hvif_point cp2 = hvif_path->points[1];
|
hvif_point cp2 = hvif_path->points[1];
|
||||||
hvif_point p = hvif_path->points[0];
|
hvif_point p = hvif_path->points[0];
|
||||||
cairo_curve_to(cr, cp1.x, cp1.y, cp2.x, cp2.y, p.x, p.y);
|
cairo_curve_to(cr, cp1.x, cp1.y, cp2.x, cp2.y, p.x, p.y);
|
||||||
|
cairo_close_path(cr);
|
||||||
}
|
}
|
||||||
cairo_close_path(cr);
|
|
||||||
*path = cairo_copy_path_flat(cr);
|
*path = cairo_copy_path_flat(cr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue