Root/
| 1 | /* |
| 2 | * postscript.h - Dump objects in Postscript |
| 3 | * |
| 4 | * Written 2009-2012 by Werner Almesberger |
| 5 | * Copyright 2009-2012 by Werner Almesberger |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * (at your option) any later version. |
| 11 | */ |
| 12 | |
| 13 | |
| 14 | #ifndef POSTSCRIPT_H |
| 15 | #define POSTSCRIPT_H |
| 16 | |
| 17 | #include <stdio.h> |
| 18 | |
| 19 | |
| 20 | struct postscript_params { |
| 21 | double zoom; /* 0 for auto-zoom */ |
| 22 | double max_width; /* in fped units; 0 for paper width */ |
| 23 | double max_height; /* in fped units; 0 for paper height */ |
| 24 | int show_pad_names; |
| 25 | int show_stuff; /* vecs and frames */ |
| 26 | int label_vecs; |
| 27 | int show_meas; |
| 28 | int show_key; |
| 29 | } postscript_params; |
| 30 | |
| 31 | |
| 32 | int postscript(FILE *file, const char *one); |
| 33 | int postscript_fullpage(FILE *file, const char *one); |
| 34 | |
| 35 | #endif /* !POSTSCRIPT_H */ |
| 36 |
Branches:
master
