summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/canvas_base.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/canvas_base.c b/common/canvas_base.c
index 2c85886a..e13a005b 100644
--- a/common/canvas_base.c
+++ b/common/canvas_base.c
@@ -2422,6 +2422,7 @@ static void stroke_fill_spans(lineGC * pGC,
r.x1 = points[i].x;
r.y1 = points[i].y;
r.x2 = points[i].x + widths[i];
+ r.y2 = r.y1 + 1;
canvas->ops->fill_solid_rects_rop(canvas, &r, 1,
strokeGC->color, rop);
}
@@ -2433,6 +2434,7 @@ static void stroke_fill_spans(lineGC * pGC,
r.x1 = points[i].x;
r.y1 = points[i].y;
r.x2 = points[i].x + widths[i];
+ r.y2 = r.y1 + 1;
canvas->ops->fill_tiled_rects(canvas, &r, 1,
strokeGC->tile,
strokeGC->tile_offset_x,
@@ -2444,6 +2446,7 @@ static void stroke_fill_spans(lineGC * pGC,
r.x1 = points[i].x;
r.y1 = points[i].y;
r.x2 = points[i].x + widths[i];
+ r.y2 = r.y1 + 1;
canvas->ops->fill_tiled_rects_rop(canvas, &r, 1,
strokeGC->tile,
strokeGC->tile_offset_x,