diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-07-27 22:18:57 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:54 +0100 |
commit | d2d5dbd980faa87f0763f26353b476f2aa65e30b (patch) | |
tree | b8f91eb960922ea1d5403338205a7a51925d1983 /src | |
parent | 51017e023cf71fc6265b8d074a1932cebfaed44c (diff) |
render_hkl: Lengthen indexing lines a bit
Diffstat (limited to 'src')
-rw-r--r-- | src/render_hkl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render_hkl.c b/src/render_hkl.c index f0050f4e..ea2af1e7 100644 --- a/src/render_hkl.c +++ b/src/render_hkl.c @@ -450,8 +450,8 @@ out: cairo_set_line_cap(dctx, CAIRO_LINE_CAP_ROUND); cairo_set_line_width(dctx, 4.0); cairo_move_to(dctx, (double)cx, (double)cy); - u = (1.0+max_ux)*as*sin(theta); - v = (1.0+max_ux)*as*cos(theta); + u = (2.0+max_ux)*as*sin(theta); + v = (2.0+max_ux)*as*cos(theta); cairo_line_to(dctx, cx+u*scale, cy+v*scale); cairo_set_source_rgb(dctx, 0.0, 1.0, 0.0); cairo_stroke(dctx); @@ -469,7 +469,7 @@ out: cairo_move_to(dctx, (double)cx, (double)cy); u = 0.0; - v = (1.0+max_uy)*bs; + v = (2.0+max_uy)*bs; cairo_line_to(dctx, cx+u*scale, cy+v*scale); cairo_set_source_rgb(dctx, 0.0, 1.0, 0.0); cairo_stroke(dctx); |