aboutsummaryrefslogtreecommitdiff
path: root/src/render_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-07-27 22:18:57 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:54 +0100
commitd2d5dbd980faa87f0763f26353b476f2aa65e30b (patch)
treeb8f91eb960922ea1d5403338205a7a51925d1983 /src/render_hkl.c
parent51017e023cf71fc6265b8d074a1932cebfaed44c (diff)
render_hkl: Lengthen indexing lines a bit
Diffstat (limited to 'src/render_hkl.c')
-rw-r--r--src/render_hkl.c6
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);