aboutsummaryrefslogtreecommitdiff
path: root/src/scaling-report.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-07-08 17:56:15 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:32 +0100
commitf2473f3f3c29b6d4b1193393c77ca4d21921be4e (patch)
tree7ddf1d229ca8672df4410cc6ff89eeb6a0461433 /src/scaling-report.h
parent06238f6deee66dc1a90920f335cab5af88e6693c (diff)
Add scaling report skeleton
Diffstat (limited to 'src/scaling-report.h')
-rw-r--r--src/scaling-report.h34
1 files changed, 34 insertions, 0 deletions
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 <taw@physics.org>
+ *
+ * Part of CrystFEL - crystallography with a FEL
+ *
+ */
+
+#ifndef SCALING_REPORT_H
+#define SCALING_REPORT_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#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 */