1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-09-30 13:36:21 +03:00
fped/postscript.h
Werner Almesberger 1c01bc3c2a new use of option -s (scaling): -s [width]x[heigth]
The new scaling variants set the maximum size in one or both directions.
If one of the sizes is omitted, the default paper size is assumed.
2012-07-12 18:16:54 -03:00

35 lines
932 B
C

/*
* postscript.h - Dump objects in Postscript
*
* Written 2009-2012 by Werner Almesberger
* Copyright 2009-2012 by Werner Almesberger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#ifndef POSTSCRIPT_H
#define POSTSCRIPT_H
#include <stdio.h>
struct postscript_params {
double zoom; /* 0 for auto-zoom */
double max_width; /* in fped units; 0 for paper width */
double max_height; /* in fped units; 0 for paper height */
int show_pad_names;
int show_stuff; /* vecs and frames */
int label_vecs;
int show_meas;
} postscript_params;
int postscript(FILE *file, const char *one);
int postscript_fullpage(FILE *file, const char *one);
#endif /* !POSTSCRIPT_H */