diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-04-21 10:16:30 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-04-21 10:18:26 +0100 |
commit | c0b523eb652b2c4ba41cb27132d46ad9211b5df4 (patch) | |
tree | 1ca2ef6979da06f1e7108d7c86eb28df26c7e2fd /src/cairo-path-stroke-boxes.c | |
parent | 99f3fea6d92fab684b145b2eb62fc7e6705aca73 (diff) | |
download | cairo-c0b523eb652b2c4ba41cb27132d46ad9211b5df4.tar.gz |
stroke(boxes): Convert the dash step back into device units before incrementing
Reported-by: Carlos Garcia Campos <carlosgc@gnome.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-path-stroke-boxes.c')
-rw-r--r-- | src/cairo-path-stroke-boxes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-path-stroke-boxes.c b/src/cairo-path-stroke-boxes.c index 1543a64fc..9b194b269 100644 --- a/src/cairo-path-stroke-boxes.c +++ b/src/cairo-path-stroke-boxes.c @@ -546,7 +546,7 @@ _cairo_rectilinear_stroker_line_to_dashed (void *closure, dash_on = FALSE; } - _cairo_stroker_dash_step (&stroker->dash, step_length); + _cairo_stroker_dash_step (&stroker->dash, step_length / sf); segment.p1 = segment.p2; } |