|
GRASS 8 Programmer's Manual 8.5.0(2026)-8d6ceba290
|


Go to the source code of this file.
Data Structures | |
| struct | ps_state |
Macros | |
| #define | FILE_NAME "map.ps" |
Functions | |
| void | output (const char *,...) |
| void | init_color_table (void) |
| int | lookup_color (int, int, int) |
| const struct driver * | PS_Driver (void) |
| void | PS_Box (double, double, double, double) |
| void | PS_Client_Close (void) |
| void | PS_Erase (void) |
| void | PS_Graph_close (void) |
| int | PS_Graph_set (void) |
| const char * | PS_Graph_get_file (void) |
| Get render file. | |
| void | PS_Line_width (double) |
| void | PS_Set_window (double, double, double, double) |
| void | PS_Color (int, int, int) |
| void | PS_Bitmap (int, int, int, const unsigned char *) |
| void | PS_begin_raster (int, int[2][2], double[2][2]) |
| int | PS_raster (int, int, const unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *) |
| void | PS_end_raster (void) |
| void | PS_Begin (void) |
| void | PS_Move (double, double) |
| void | PS_Cont (double, double) |
| void | PS_Close (void) |
| void | PS_Stroke (void) |
| void | PS_Fill (void) |
| void | PS_Point (double, double) |
Variables | |
| struct ps_state | ps |
| #define FILE_NAME "map.ps" |
Definition at line 9 of file psdriver.h.
|
extern |
References init_color_table().
Referenced by init_color_table().
|
extern |
References lookup_color(), PS_Box(), and PS_Driver().
Referenced by lookup_color().
|
extern |
Definition at line 233 of file psdriver/graph_set.c.
References output(), ps, and ps_state::tempfp.
Referenced by cairo_write_bmp(), cairo_write_ppm(), G_check_input_output_name(), output(), 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().
|
extern |
Definition at line 16 of file psdriver/draw.c.
References output(), and PS_Begin().
Referenced by PS_Begin(), PS_Client_Close(), and PS_Driver().
|
extern |
Definition at line 7 of file psdriver/raster.c.
References output(), ps, PS_begin_raster(), and ps_state::true_color.
Referenced by PS_begin_raster(), PS_Client_Close(), and PS_Driver().
|
extern |
Definition at line 3 of file psdriver/draw_bitmap.c.
References cur_x, cur_y, output(), and PS_Bitmap().
Referenced by PS_Bitmap(), PS_Client_Close(), and PS_Driver().
|
extern |
Definition at line 3 of file psdriver/box.c.
References output(), and PS_Box().
Referenced by lookup_color(), PS_Box(), and PS_Driver().
|
extern |
References PS_Begin(), PS_begin_raster(), PS_Bitmap(), PS_Client_Close(), PS_Close(), PS_Color(), PS_Cont(), PS_end_raster(), PS_Erase(), PS_Fill(), PS_Graph_close(), PS_Graph_get_file(), PS_Graph_set(), PS_Line_width(), PS_Move(), PS_Point(), PS_raster(), PS_Set_window(), and PS_Stroke().
Referenced by PS_Client_Close().
|
extern |
Definition at line 31 of file psdriver/draw.c.
References output(), and PS_Close().
Referenced by PS_Client_Close(), PS_Close(), and PS_Driver().
|
extern |
Definition at line 4 of file psdriver/color.c.
References output(), ps, PS_Color(), and ps_state::true_color.
Referenced by PS_Client_Close(), PS_Color(), and PS_Driver().
|
extern |
Definition at line 26 of file psdriver/draw.c.
References output(), PS_Cont(), and x.
Referenced by PS_Client_Close(), PS_Cont(), and PS_Driver().
|
extern |
Definition at line 21 of file psdriver/driver.c.
References driver::Begin, driver::Begin_raster, driver::Bitmap, driver::Box, driver::Close, driver::Color, driver::Cont, driver::End_raster, driver::Erase, driver::Fill, driver::Font_info, driver::Font_list, driver::Graph_close, driver::Graph_get_file, driver::Graph_set, driver::Line_width, driver::Move, driver::name, NULL, driver::Point, PS_Begin(), PS_begin_raster(), PS_Bitmap(), PS_Box(), PS_Close(), PS_Color(), PS_Cont(), PS_Driver(), PS_end_raster(), PS_Erase(), PS_Fill(), PS_Graph_close(), PS_Graph_get_file(), PS_Graph_set(), PS_Line_width(), PS_Move(), PS_Point(), PS_raster(), PS_Set_window(), PS_Stroke(), driver::Raster, driver::Set_font, driver::Set_window, driver::Stroke, driver::Text, and driver::Text_box.
Referenced by lookup_color(), and PS_Driver().
|
extern |
Definition at line 59 of file psdriver/raster.c.
References output(), and PS_end_raster().
Referenced by PS_Client_Close(), PS_Driver(), and PS_end_raster().
|
extern |
Definition at line 3 of file psdriver/erase.c.
References ps_state::bot, ps_state::encapsulated, ps_state::left, output(), ps, PS_Erase(), ps_state::right, and ps_state::top.
Referenced by PS_Client_Close(), PS_Driver(), and PS_Erase().
|
extern |
Definition at line 41 of file psdriver/draw.c.
References output(), and PS_Fill().
Referenced by PS_Client_Close(), PS_Driver(), and PS_Fill().
|
extern |
Definition at line 9 of file psdriver/graph_close.c.
References G_rename_file(), ps_state::no_trailer, ps_state::outfile, output(), ps, PS_Graph_close(), ps_state::tempfile, and ps_state::tempfp.
Referenced by PS_Client_Close(), PS_Driver(), and PS_Graph_close().
|
extern |
Get render file.
Definition at line 228 of file psdriver/graph_set.c.
References ps_state::outfile, ps, and PS_Graph_get_file().
Referenced by PS_Client_Close(), PS_Driver(), and PS_Graph_get_file().
|
extern |
Definition at line 170 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, PS_Graph_set(), screen_height, screen_width, ps_state::tempfile, ps_state::tempfp, ps_state::true_color, and write_setup().
Referenced by PS_Client_Close(), PS_Driver(), and PS_Graph_set().
|
extern |
Definition at line 3 of file psdriver/line_width.c.
References output(), and PS_Line_width().
Referenced by PS_Client_Close(), PS_Driver(), and PS_Line_width().
|
extern |
Definition at line 21 of file psdriver/draw.c.
References output(), PS_Move(), and x.
Referenced by PS_Client_Close(), PS_Driver(), and PS_Move().
|
extern |
Definition at line 46 of file psdriver/draw.c.
References output(), PS_Point(), and x.
Referenced by PS_Client_Close(), PS_Driver(), and PS_Point().
|
extern |
Definition at line 29 of file psdriver/raster.c.
References output(), ps, PS_raster(), and ps_state::true_color.
Referenced by PS_Client_Close(), PS_Driver(), and PS_raster().
|
extern |
Definition at line 21 of file psdriver/set_window.c.
References ps_state::encapsulated, output(), ps, and PS_Set_window().
Referenced by PS_Client_Close(), PS_Driver(), and PS_Set_window().
|
extern |
Definition at line 36 of file psdriver/draw.c.
References output(), and PS_Stroke().
Referenced by PS_Client_Close(), PS_Driver(), and PS_Stroke().
|
extern |
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().