|
GRASS GIS 8 Programmer's Manual 8.3.2(2024)-exported
|
#include <string.h>#include <stdlib.h>#include <stdarg.h>#include <time.h>#include <math.h>#include <unistd.h>#include <grass/gis.h>#include <grass/glocale.h>#include "psdriver.h"
Go to the source code of this file.
Macros | |
| #define | DATE_FORMAT "%c" |
Functions | |
| void | write_setup (void) |
| int | PS_Graph_set (void) |
| const char * | PS_Graph_get_file (void) |
| Get render file. | |
| void | output (const char *fmt,...) |
Variables | |
| struct ps_state | ps |
| #define DATE_FORMAT "%c" |
Definition at line 24 of file psdriver/graph_set.c.
| void output | ( | const char * | fmt, |
| ... ) |
Definition at line 232 of file psdriver/graph_set.c.
References ps, and ps_state::tempfp.
Referenced by cairo_write_bmp(), cairo_write_ppm(), G_check_input_output_name(), PS_Begin(), PS_begin_raster(), PS_Bitmap(), PS_Box(), PS_Close(), PS_Color(), PS_Cont(), PS_end_raster(), PS_Erase(), PS_Fill(), PS_Graph_close(), PS_Line_width(), PS_Move(), PS_Point(), PS_raster(), PS_Set_window(), PS_Stroke(), write_bmp(), write_pgm(), write_png(), write_ppm(), and write_setup().
| const char * PS_Graph_get_file | ( | void | ) |
Get render file.
Definition at line 227 of file psdriver/graph_set.c.
References ps_state::outfile, and ps.
Referenced by PS_Driver().
| int PS_Graph_set | ( | void | ) |
Definition at line 169 of file psdriver/graph_set.c.
References ps_state::encapsulated, FILE_NAME, G_fatal_error(), G_rename_file(), G_strcasecmp(), G_tempfile(), G_verbose_message(), ps_state::no_header, ps_state::no_trailer, ps_state::outfile, ps, screen_height, screen_width, ps_state::tempfile, ps_state::tempfp, ps_state::true_color, and write_setup().
Referenced by PS_Driver().
| void write_setup | ( | void | ) |
Definition at line 94 of file psdriver/graph_set.c.
References ps_state::bot, ps_state::left, output(), and ps.
Referenced by PS_Graph_set().
| struct ps_state ps |
Definition at line 26 of file psdriver/graph_set.c.
Referenced by cminv(), csolv(), gs_get_prev_surface(), gs_init_surf(), minv(), output(), PS_begin_raster(), PS_Color(), PS_Erase(), PS_Graph_close(), PS_Graph_get_file(), PS_Graph_set(), PS_raster(), PS_Set_window(), smgen(), solv(), and write_setup().