ok
This commit is contained in:
parent
66ea53f523
commit
bf803f0ad5
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ void MwLLCairoLine(struct _MwLLCairo handle, MwPoint* points, MwLLColor color) {
|
||||||
if(i == 0) {
|
if(i == 0) {
|
||||||
cairo_move_to(handle.front_cairo_back, points[i].x, points[i].y);
|
cairo_move_to(handle.front_cairo_back, points[i].x, points[i].y);
|
||||||
} else {
|
} else {
|
||||||
cairo_line_to(handle.front_cairo_back, points[i].x, points[i].y);
|
cairo_line_to(handle.front_cairo_back, points[i].x + 1, points[i].y + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cairo_close_path(handle.front_cairo_back);
|
cairo_close_path(handle.front_cairo_back);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue