/* Copyright (C) 2001-2005 Peter Selinger. This file is part of psdim. It is free software and it is covered by the GNU general public license. See the file COPYING for details. */ /* $Id: format.h,v 1.3 2005/03/31 03:20:13 selinger Exp $ */ #ifndef FORMAT_H #define FORMAT_H #include "main.h" /* holds a linear transformation a la pstops */ struct transform_s { char *rot; /* rotation, "", "L", "R", "U" */ double sf; /* scaling factor */ double dx; /* x shift */ double dy; /* y shift */ }; typedef struct transform_s transform_t; int format(info_t info, int n, bbox_t *bboxes); #endif /* FORMAT_H */