mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 08:48:00 +02:00
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:
parent
99f3fea6d9
commit
c0b523eb65
4 changed files with 1 additions and 1 deletions
|
|
@ -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 |
Loading…
Add table
Reference in a new issue