aboutsummaryrefslogtreecommitdiff
path: root/src/scaling-report.h
blob: 063a0f39e6704c6d5ffd40daf8b9293a2a2a72f9 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
 * 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"

typedef struct _srcontext SRContext;  /* Opaque */

#ifdef HAVE_CAIRO

extern SRContext *sr_header(const char *filename, const char *stream_filename,
                            const char *cmdline);

extern void sr_before(SRContext *sr, struct image *images, int n,
                      RefList *full);

extern void sr_after(SRContext *sr, struct image *images, int n,
                     RefList *full);

#else

SRContext *sr_header(const char *filename, const char *stream_filename,
                     const char *cmdline)
{
	return NULL;
}

void sr_before(SRContext *sr, struct image *images, int n, RefList *full)
{
}

void sr_after(SRContext *sr, struct image *images, int n, RefList *full)
{
}

#endif

#endif	/* SCALING_REPORT_H */