summaryrefslogtreecommitdiffstatsci
path: root/src/cairo-tests/fill.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-tests/fill.cpp')
-rw-r--r--src/cairo-tests/fill.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/cairo-tests/fill.cpp b/src/cairo-tests/fill.cpp
index d3a6bef..7efbe54 100644
--- a/src/cairo-tests/fill.cpp
+++ b/src/cairo-tests/fill.cpp
@@ -7,7 +7,6 @@
int
ca_setup_fill(cairo_t *cr)
{
- cairo_arc (cr, 40, 40, 30, 0, 2*M_PI);
return 1;
}
@@ -19,7 +18,11 @@ ca_teardown_fill(void)
int
ca_test_fill(cairo_t *cr)
{
- randomize_color (cr);
- cairo_fill_preserve (cr);
+ int i;
+ for (i=0; i<32; i++) {
+ randomize_color (cr);
+ cairo_arc (cr, 40*i, 40, 30, 0, 2*M_PI);
+ cairo_fill_preserve (cr);
+ }
return 1;
}