3 cairo_set_source_rgb (cr, 1, 1, 1);
6 cairo_set_source_rgb (cr, 0, 0, 0);
7 cairo_set_miter_limit (cr, 100000);
8 for (xscale = 1; xscale <= 1000; xscale += 999)
9 for (yscale = 1; yscale <= 1000; yscale += 999)
11 double max_scale = xscale > yscale ? xscale : yscale;
14 cairo_translate (cr, 50, 0);
16 cairo_translate (cr, 0, 50);
17 cairo_scale (cr, xscale, yscale);
18 cairo_set_line_width (cr, 10.0 / max_scale);
19 cairo_move_to (cr, 10.0 / xscale, 10.0 / yscale);
20 cairo_line_to (cr, 40.0 / xscale, 10.0 / yscale);
21 cairo_line_to (cr, 10.0 / xscale, 30.0 / yscale);