1
#include "cairo-test.h"
2

            
3
static cairo_test_status_t
4
3
draw (cairo_t *cr, int width, int height)
5
{
6
3
    double dsh[2] = {1,3};
7

            
8
3
    cairo_set_source_rgba (cr, 0, 0, 0, 1);
9
3
    cairo_paint (cr);
10

            
11
3
    cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND);
12

            
13
3
    cairo_move_to (cr, 3, 3);
14
    /* struct glitter_scan_converter spans_embedded array size is 64 */
15
3
    cairo_line_to (cr, 65+3, 3);
16

            
17
3
    cairo_set_antialias (cr, CAIRO_ANTIALIAS_FAST);
18
3
    cairo_set_tolerance (cr, 1);
19

            
20
3
    cairo_set_dash (cr, dsh, 2, 0);
21
3
    cairo_set_line_width (cr, 2);
22

            
23
3
    cairo_stroke (cr);
24
3
    return CAIRO_TEST_SUCCESS;
25
}
26

            
27
1
CAIRO_TEST (bug_75705,
28
	    "Bug 75705 (exercise tor22-scan-converter)",
29
	    "dash, stroke, antialias", /* keywords */
30
	    NULL, /* requirements */
31
	    72, 8,
32
	    NULL, draw)