Loading...
Searching...
No Matches
psdriver/set_window.c
Go to the documentation of this file.
/****************************************************************************
*
* MODULE: PNG driver
* AUTHOR(S): Glynn Clements <glynn@gclements.plus.com>
* COPYRIGHT: (C) 2007 Glynn Clements
*
* 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.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*****************************************************************************/
#include "psdriver.h"
void PS_Set_window(double t, double b, double l, double r)
{
output("%.1f %.1f %.1f %.1f %s\n", t, b, l, r,
ps.encapsulated ? "EPSWINDOW" : "WINDOW");
}
b
double b
Definition driver/set_window.c:5
l
double l
Definition driver/set_window.c:5
t
double t
Definition driver/set_window.c:5
r
double r
Definition driver/set_window.c:5
ps
struct ps_state ps
Definition psdriver/graph_set.c:26
output
void output(const char *fmt,...)
Definition psdriver/graph_set.c:233
PS_Set_window
void PS_Set_window(double t, double b, double l, double r)
Definition psdriver/set_window.c:21
psdriver.h