aboutsummaryrefslogtreecommitdiff
path: root/src/scaling-report.h
blob: 419acc0be5b61415559a026ec37e324b94439808 (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
54
55
56
/*
 * 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_titlepage(struct image *images, int n,
                               const char *filename,
                               const char *stream_filename,
                               const char *cmdline);

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

extern void sr_finish(SRContext *sr);

#else

SRContext *sr_titlepage(struct image *images, int n, const char *filename,
                        const char *stream_filename, const char *cmdline)
{
	return NULL;
}

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

void sr_finish(SRContext *sr)
{
}

#endif


#endif	/* SCALING_REPORT_H */