mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-20 04:40:07 +01:00
test: Fix array lengths for degenerate-solid-dash
The latter arrays were meant to test compaction. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
9176e640d7
commit
ba21231491
2 changed files with 2 additions and 2 deletions
|
|
@ -49,12 +49,12 @@ draw (cairo_t *cr, int width, int height)
|
|||
cairo_stroke (cr);
|
||||
|
||||
cairo_translate (cr, 0, 50);
|
||||
cairo_set_dash (cr, dashes_2, 2, 0);
|
||||
cairo_set_dash (cr, dashes_2, 4, 0);
|
||||
cairo_rectangle (cr, 10, 10, 30, 30);
|
||||
cairo_stroke (cr);
|
||||
|
||||
cairo_translate (cr, -50, 0);
|
||||
cairo_set_dash (cr, dashes_3, 2, 0);
|
||||
cairo_set_dash (cr, dashes_3, 4, 0);
|
||||
cairo_rectangle (cr, 10, 10, 30, 30);
|
||||
cairo_stroke (cr);
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 405 B |
Loading…
Add table
Reference in a new issue