set_window.c 990 B

123456789101112131415161718192021222324252627
  1. /****************************************************************************
  2. *
  3. * MODULE: PNG driver
  4. * AUTHOR(S): Glynn Clements <glynn@gclements.plus.com>
  5. * COPYRIGHT: (C) 2007 Glynn Clements
  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. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. *****************************************************************************/
  18. #include "psdriver.h"
  19. void PS_Set_window(double t, double b, double l, double r)
  20. {
  21. output("%.1f %.1f %.1f %.1f %s\n", t, b, l, r,
  22. ps.encapsulated ? "EPSWINDOW" : "WINDOW");
  23. }