#include <stdio.h>
#include <grass/config.h>
#include "driver.h"
Go to the source code of this file.
|
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) |
|
◆ FILE_NAME
#define FILE_NAME "map.ps" |
◆ init_color_table()
void init_color_table |
( |
void | | ) |
|
|
extern |
◆ lookup_color()
int lookup_color |
( |
int | , |
|
|
int | , |
|
|
int | ) |
|
extern |
◆ output()
void output |
( |
const char * | fmt, |
|
|
| ... ) |
|
extern |
Definition at line 232 of file psdriver/graph_set.c.
References ps.
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().
◆ PS_Begin()
◆ PS_begin_raster()
void PS_begin_raster |
( |
int | mask, |
|
|
int | src[2][2], |
|
|
double | dst[2][2] ) |
|
extern |
◆ PS_Bitmap()
void PS_Bitmap |
( |
int | ncols, |
|
|
int | nrows, |
|
|
int | threshold, |
|
|
const unsigned char * | buf ) |
|
extern |
◆ PS_Box()
void PS_Box |
( |
double | x1, |
|
|
double | y1, |
|
|
double | x2, |
|
|
double | y2 ) |
|
extern |
◆ PS_Client_Close()
void PS_Client_Close |
( |
void | | ) |
|
|
extern |
◆ PS_Close()
◆ PS_Color()
void PS_Color |
( |
int | r, |
|
|
int | g, |
|
|
int | b ) |
|
extern |
◆ PS_Cont()
void PS_Cont |
( |
double | x, |
|
|
double | y ) |
|
extern |
◆ PS_Driver()
const struct driver * PS_Driver |
( |
void | | ) |
|
|
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_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.
◆ PS_end_raster()
void PS_end_raster |
( |
void | | ) |
|
|
extern |
◆ PS_Erase()
◆ PS_Fill()
◆ PS_Graph_close()
void PS_Graph_close |
( |
void | | ) |
|
|
extern |
◆ PS_Graph_get_file()
const char * PS_Graph_get_file |
( |
void | | ) |
|
|
extern |
◆ PS_Graph_set()
int PS_Graph_set |
( |
void | | ) |
|
|
extern |
◆ PS_Line_width()
void PS_Line_width |
( |
double | width | ) |
|
|
extern |
◆ PS_Move()
void PS_Move |
( |
double | x, |
|
|
double | y ) |
|
extern |
◆ PS_Point()
void PS_Point |
( |
double | x, |
|
|
double | y ) |
|
extern |
◆ PS_raster()
int PS_raster |
( |
int | n, |
|
|
int | row, |
|
|
const unsigned char * | red, |
|
|
const unsigned char * | grn, |
|
|
const unsigned char * | blu, |
|
|
const unsigned char * | nul ) |
|
extern |
◆ PS_Set_window()
void PS_Set_window |
( |
double | t, |
|
|
double | b, |
|
|
double | l, |
|
|
double | r ) |
|
extern |
◆ PS_Stroke()
◆ 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().