summaryrefslogtreecommitdiffstatsci
path: root/src/cairo-tests/fill.cpp
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2013-11-07 17:34:18 -0800
committerBryce Harrington <b.harrington@samsung.com>2013-11-07 17:34:18 -0800
commit5e008babc75588760fd1d1aa84c9c4e436fb92de (patch)
treed782c95dfaf703065ea6478dbbc3fbbe188298cd /src/cairo-tests/fill.cpp
parentac7d1e2106c030f8ea02612de623f887b46c1ddd (diff)
fill: Fill circles
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;
}