From f2473f3f3c29b6d4b1193393c77ca4d21921be4e Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 8 Jul 2011 17:56:15 +0200 Subject: Add scaling report skeleton --- src/scaling-report.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/scaling-report.h (limited to 'src/scaling-report.h') diff --git a/src/scaling-report.h b/src/scaling-report.h new file mode 100644 index 00000000..3186c5f7 --- /dev/null +++ b/src/scaling-report.h @@ -0,0 +1,34 @@ +/* + * scaling-report.h + * + * Write a nice PDF of scaling parameters + * + * (c) 2011 Thomas White + * + * Part of CrystFEL - crystallography with a FEL + * + */ + +#ifndef SCALING_REPORT_H +#define SCALING_REPORT_H + +#ifdef HAVE_CONFIG_H +#include +#endif + + +#include "utils.h" + +#ifdef HAVE_CAIRO +extern void scaling_report(const char *filename, const struct image *images, + int n, const char *stream_filename); +#else +static inline void scaling_report(const char *filename, + const struct image *images, int n, + const char *stream_filename) +{ + ERROR("Not writing scaling report - no Cairo support.\n"); +} +#endif + +#endif /* SCALING_REPORT_H */ -- cgit v1.2.3