mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 12:18:01 +02:00
[test] update degenerate-pen test
pdiff was hiding a rgb24 failure here, as the test was drawing using black ink on the default black background. Instead, explicitly fill the surface with white first.
This commit is contained in:
parent
baec928a69
commit
9979f786ac
5 changed files with 4 additions and 0 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 795 B |
BIN
test/degenerate-pen-ps-ref.png
Normal file
BIN
test/degenerate-pen-ps-ref.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 865 B |
BIN
test/degenerate-pen-quartz-ref.png
Normal file
BIN
test/degenerate-pen-quartz-ref.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 788 B After Width: | Height: | Size: 1.1 KiB |
|
|
@ -60,6 +60,10 @@ cairo_test_t test = {
|
|||
static cairo_test_status_t
|
||||
draw (cairo_t *cr, int width, int height)
|
||||
{
|
||||
cairo_set_source_rgb (cr, 1, 1, 1);
|
||||
cairo_paint (cr);
|
||||
|
||||
cairo_set_source_rgb (cr, 0, 0, 0);
|
||||
cairo_set_line_join (cr, CAIRO_LINE_JOIN_ROUND);
|
||||
|
||||
cairo_translate (cr, PAD, PAD);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue