diff options
author | Thomas White <taw@physics.org> | 2020-08-01 15:13:49 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-01 15:19:26 +0200 |
commit | 189da15810deabd739d7c11c6e95fea55739fe60 (patch) | |
tree | e86e43fcbbf8278b792a74daf684cde3bd6e2bbf /src/model-display.h |
Initial import from archive
Diffstat (limited to 'src/model-display.h')
-rw-r--r-- | src/model-display.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/model-display.h b/src/model-display.h new file mode 100644 index 0000000..3142c70 --- /dev/null +++ b/src/model-display.h @@ -0,0 +1,27 @@ +/* + * model-display.h + * + * Display atomic models + * + * (c) 2006-2007 Thomas White <taw27@cam.ac.uk> + * + * synth2d - Two-Dimensional Crystallographic Fourier Synthesis + * + */ + +#ifndef MODEL_DISPLAY_H +#define MODEL_DISPLAY_H + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <gtk/gtk.h> + +#include "model.h" + +extern GdkPixbuf *model_display_render_pixbuf(AtomicModel *model, int width, int height, double gamma, int names, int heights, int nx, int ny); +extern int model_display_render_pdf(AtomicModel *model, int width, int height, double gamma, const char *filename, int names, int heights, int nx, int ny); + +#endif /* MODEL_DISPLAY_H */ + |