postscript.h 947 B

123456789101112131415161718192021222324252627282930313233343536
  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. #ifndef POSTSCRIPT_H
  13. #define POSTSCRIPT_H
  14. #include <stdio.h>
  15. struct postscript_params {
  16. double zoom; /* 0 for auto-zoom */
  17. double max_width; /* in fped units; 0 for paper width */
  18. double max_height; /* in fped units; 0 for paper height */
  19. int show_pad_names;
  20. int show_stuff; /* vecs and frames */
  21. int label_vecs;
  22. int show_meas;
  23. int show_key;
  24. } postscript_params;
  25. int postscript(FILE *file, const char *one);
  26. int postscript_fullpage(FILE *file, const char *one);
  27. #endif /* !POSTSCRIPT_H */