diff options
author | Thomas White <taw@physics.org> | 2020-09-04 15:05:53 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-09-04 15:05:53 +0200 |
commit | ccf26504992e4cbe8720d10fb74b65b4910f165a (patch) | |
tree | 962e2541b00231faa7e2b9f268ad2414df53c675 | |
parent | 54c2c2b2e07597772fb0531b5b75ca28b626650e (diff) |
Add a FIXME
-rw-r--r-- | src/crystfelimageview.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crystfelimageview.c b/src/crystfelimageview.c index a99c1b08..b8c154d5 100644 --- a/src/crystfelimageview.c +++ b/src/crystfelimageview.c @@ -227,6 +227,7 @@ static void draw_pixel_values(cairo_t *cr, PangoFontDescription *fontdesc; double w, h; + /* FIXME: This is wrong for slanty pixels */ min_fs = clamp(imin_fs, 0, p.w-1); min_ss = clamp(imin_ss, 0, p.h-1); max_fs = clamp(imax_fs, 0, p.w-1); |