test: exercise ps crash with single stop gradients

PS crashes only when using the source operator, as it will otherwise
fallback to rasterization of the gradients.
This commit is contained in:
Andrea Canciani 2010-06-09 17:59:47 +02:00
parent a0f8cfe646
commit 7a024bc206
8 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

View file

@ -45,7 +45,7 @@ draw (cairo_t *cr, int width, int height)
CAIRO_EXTEND_PAD
};
cairo_test_paint_checkered (cr);
cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
cairo_translate (cr, PAD, PAD);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -78,7 +78,7 @@ draw (cairo_t *cr, int width, int height)
CAIRO_EXTEND_PAD
};
cairo_test_paint_checkered (cr);
cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
for (j = 0; j < NUM_EXTEND; j++) {
for (i = 0; i < NUM_GRADIENTS; i++) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB