[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:
Vladimir Vukicevic 2008-02-25 21:27:33 -05:00 committed by Vladimir Vukicevic
parent baec928a69
commit 9979f786ac
5 changed files with 4 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 795 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

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

View file

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