diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-03-08 16:09:00 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:18 +0100 |
commit | 283469314d6bd1689309c736f5f82557ff83da1f (patch) | |
tree | eb592c444f418988cd90250dbf8dbcfb6d9db071 /src | |
parent | d16b690eaef3f5d785f97c00ed6f622d1e1a2769 (diff) |
hdfsee: Improve line widths
Diffstat (limited to 'src')
-rw-r--r-- | src/dw-hdfsee.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c index 3d29d390..0f801fca 100644 --- a/src/dw-hdfsee.c +++ b/src/dw-hdfsee.c @@ -102,7 +102,7 @@ static void show_ring(cairo_t *cr, DisplayWindow *dw, cairo_arc(cr, 0.0, 0.0, ring_radius(dw->image, d)/dw->binning, 0.0, 2.0*M_PI); cairo_set_source_rgb(cr, 1.0, 0.0, 0.0); - cairo_set_line_width(cr, 1.0); + cairo_set_line_width(cr, 3.0/dw->binning); cairo_stroke(cr); cairo_rotate(cr, -M_PI/4.0); @@ -250,7 +250,7 @@ static int draw_stuff(cairo_surface_t *surf, DisplayWindow *dw) } - cairo_set_line_width(cr, 0.75); + cairo_set_line_width(cr, 0.75/dw->binning); cairo_stroke(cr); } |