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>
This commit is contained in:
Chris Wilson 2012-04-21 10:16:30 +01:00
parent 99f3fea6d9
commit c0b523eb65
4 changed files with 1 additions and 1 deletions

View file

@ -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;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 921 B

After

Width:  |  Height:  |  Size: 651 B