| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #include "cairo-test.h" |
| |
| #define HEIGHT 32 |
| #define WIDTH 32 |
| |
| static cairo_test_status_t |
| draw (cairo_t *cr, int width, int height) |
| { |
| cairo_test_paint_checkered (cr); |
| return CAIRO_TEST_SUCCESS; |
| } |
| |
| CAIRO_TEST (checkerboard, |
| "Tests the checkerboard background", |
| "paint", |
| NULL, |
| WIDTH, HEIGHT, |
| NULL, draw) |
| |