aboutsummaryrefslogtreecommitdiff
path: root/src/scaling-report.h
blob: 3186c5f7612098bd5ca8999f93818f3acd560bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 */