diff options
author | Thomas White <taw@bitwiz.org.uk> | 2012-01-29 04:26:39 -0800 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:44 +0100 |
commit | 51e2b38f92c7014921e4cc07d251556f0184a490 (patch) | |
tree | e29aec7b5ed9872f9a1b2c67930c15f72f1d2ba4 | |
parent | b673c03965324269d499bd4a6418e455bc97bacb (diff) |
Formatting
-rw-r--r-- | src/dw-hdfsee.c | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c index 894509fc..a9e08303 100644 --- a/src/dw-hdfsee.c +++ b/src/dw-hdfsee.c @@ -242,20 +242,28 @@ static int draw_stuff(cairo_surface_t *surf, DisplayWindow *dw) /* Draw resolution circles */ if ( dw->n_rings == -1 ) { /* n_rings == -1 means default behavior */ - show_ring(cr, dw, 10.0e-10, "10A", &basic_m, 1.0, 0.0, 0.0); - show_ring(cr, dw, 9.0e-10, "9A", &basic_m, 1.0, 0.0, 0.0); - show_ring(cr, dw, 8.0e-10, "8A", &basic_m, 1.0, 0.0, 0.0); - show_ring(cr, dw, 7.0e-10, "7A", &basic_m, 1.0, 0.5, 0.0); - show_ring(cr, dw, 6.0e-10, "6A", &basic_m, 1.0, 1.0, 0.0); - show_ring(cr, dw, 5.0e-10, "5A", &basic_m, 0.0, 1.0, 0.0); - show_ring(cr, dw, 4.0e-10, "4A", &basic_m, 0.0, 1.0, 0.0); + show_ring(cr, dw, 10.0e-10, "10A", &basic_m, + 1.0, 0.0, 0.0); + show_ring(cr, dw, 9.0e-10, "9A", &basic_m, + 1.0, 0.0, 0.0); + show_ring(cr, dw, 8.0e-10, "8A", &basic_m, + 1.0, 0.0, 0.0); + show_ring(cr, dw, 7.0e-10, "7A", &basic_m, + 1.0, 0.5, 0.0); + show_ring(cr, dw, 6.0e-10, "6A", &basic_m, + 1.0, 1.0, 0.0); + show_ring(cr, dw, 5.0e-10, "5A", &basic_m, + 0.0, 1.0, 0.0); + show_ring(cr, dw, 4.0e-10, "4A", &basic_m, + 0.0, 1.0, 0.0); //show_ring(cr, dw, 3.0e-10, "3A", &basic_m); //show_ring(cr, dw, 2.0e-10, "2A", &basic_m); //show_ring(cr, dw, 1.0e-10, "1A", &basic_m); } else { int i; for ( i=0; i<dw->n_rings; i++ ) { - show_simple_ring(cr, dw, dw->ring_radii[i], &basic_m); + show_simple_ring(cr, dw, dw->ring_radii[i], + &basic_m); } } |