GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Go to the source code of this file.
Macros | |
#define | FILE_NAME "map.ps" |
Functions | |
void | output (const char *,...) |
void | init_color_table (void) |
struct driver * | PS_Driver (void) |
void | PS_Box_abs (int, int, int, int) |
void | PS_Client_Close (void) |
void | PS_Erase (void) |
void | PS_Graph_close (void) |
int | PS_Graph_set (int, char **) |
void | PS_Line_width (int) |
void | PS_Respond (void) |
void | PS_Set_window (int, int, int, int) |
void | PS_color (int) |
void | PS_draw_bitmap (int, int, int, const unsigned char *) |
void | PS_draw_line (int, int, int, int) |
void | PS_draw_point (int, int) |
int | PS_lookup_color (int, int, int) |
void | PS_begin_scaled_raster (int, int[2][2], int[2][2]) |
int | PS_scaled_raster (int, int, const unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *) |
void | PS_end_scaled_raster (void) |
void | PS_Polygon_abs (const int *, const int *, int) |
void | PS_Polyline_abs (const int *, const int *, int) |
Variables | |
const char * | file_name |
FILE * | outfp |
int | true_color |
int | width |
int | height |
int | encapsulated |
int | no_header |
int | no_trailer |
#define FILE_NAME "map.ps" |
Definition at line 9 of file psdriver.h.
void init_color_table | ( | void | ) |
Definition at line 77 of file pngdriver/Color_table.c.
References NCOLORS, and true_color.
Referenced by PNG_Graph_set(), and PS_Graph_set().
void output | ( | const char * | , |
... | |||
) |
Definition at line 224 of file psdriver/Graph_set.c.
References outfp.
Referenced by PS_begin_scaled_raster(), PS_Box_abs(), PS_color(), PS_draw_bitmap(), PS_draw_line(), PS_draw_point(), PS_end_scaled_raster(), PS_Erase(), PS_Graph_close(), PS_Line_width(), PS_Polygon_abs(), PS_Polyline_abs(), PS_scaled_raster(), PS_Set_window(), write_bmp(), write_pgm(), write_png(), write_ppm(), and write_setup().
Definition at line 8 of file psdriver/Raster.c.
References output(), true_color, and dialogs::type.
Referenced by PS_Driver().
void PS_Client_Close | ( | void | ) |
void PS_color | ( | int | ) |
Definition at line 5 of file psdriver/Color.c.
References b, g, G_warning(), NCOLORS, output(), r, and true_color.
Referenced by PS_Driver().
Definition at line 4 of file psdriver/Draw_bitmap.c.
References cur_x, cur_y, and output().
Referenced by PS_Driver().
struct driver* PS_Driver | ( | void | ) |
Definition at line 22 of file psdriver/Driver.c.
void PS_end_scaled_raster | ( | void | ) |
void PS_Erase | ( | void | ) |
Definition at line 3 of file psdriver/Erase.c.
References encapsulated, output(), screen_bottom, screen_left, screen_right, and screen_top.
Referenced by PS_Driver().
void PS_Graph_close | ( | void | ) |
Definition at line 8 of file psdriver/Graph_close.c.
References fclose(), no_trailer, outfp, and output().
Referenced by PS_Driver().
Definition at line 172 of file psdriver/Graph_set.c.
References encapsulated, FILE_NAME, file_name, G_fatal_error(), G_message(), G_strcasecmp(), getenv(), height, init_color_table(), no_header, no_trailer, outfp, true_color, dialogs::width, and write_setup().
Referenced by PS_Driver().
void PS_Line_width | ( | int | ) |
Definition at line 24 of file psdriver/Color_table.c.
References true_color.
Referenced by PS_Driver().
void PS_Respond | ( | void | ) |
int PS_scaled_raster | ( | int | , |
int | , | ||
const unsigned char * | , | ||
const unsigned char * | , | ||
const unsigned char * | , | ||
const unsigned char * | |||
) |
Definition at line 31 of file psdriver/Raster.c.
References int, n, output(), and true_color.
Referenced by PS_Driver().
Definition at line 22 of file psdriver/Set_window.c.
References encapsulated, and output().
Referenced by PS_Driver().
int encapsulated |
Definition at line 27 of file psdriver/Graph_set.c.
Referenced by PS_Erase(), PS_Graph_set(), and PS_Set_window().
const char* file_name |
Definition at line 46 of file cairodriver/Graph.c.
int height |
Definition at line 49 of file cairodriver/Graph.c.
int no_header |
Definition at line 28 of file psdriver/Graph_set.c.
Referenced by PS_Graph_set().
int no_trailer |
Definition at line 28 of file psdriver/Graph_set.c.
Referenced by PS_Graph_close(), and PS_Graph_set().
FILE* outfp |
Definition at line 24 of file psdriver/Graph_set.c.
Referenced by G_copy_file(), output(), PS_Client_Close(), PS_Graph_close(), PS_Graph_set(), and PS_Respond().
int true_color |
Definition at line 28 of file pngdriver/Graph_set.c.
Referenced by get_color(), get_pixel(), init_color_table(), PNG_color(), PNG_draw_bitmap(), PNG_Graph_set(), PNG_lookup_color(), PS_begin_scaled_raster(), PS_color(), PS_Graph_set(), PS_lookup_color(), PS_scaled_raster(), read_bmp(), read_pgm(), read_png(), read_ppm(), and write_png().
int width |
Definition at line 2959 of file psmap/dialogs.py.
Referenced by D_popup(), GP_set_sitemode(), gsd_get_txtwidth(), GV_set_vectmode(), PNG_Box_abs(), PNG_draw_bitmap(), PNG_draw_point(), PNG_Erase(), PNG_Graph_set(), PNG_Line_width(), PNG_scaled_raster(), PS_Graph_set(), read_bmp(), read_pgm(), read_png(), read_ppm(), sqpColumnDef(), write_bmp(), write_pgm(), write_png(), write_ppm(), and write_setup().