GRASS GIS 8 Programmer's Manual 8.4.1(2025)-45ca3179ab
Loading...
Searching...
No Matches
psdriver/draw.c
Go to the documentation of this file.
1/*!
2 \file lib/psdriver/draw.c
3
4 \brief GRASS PS display driver
5
6 (C) 2007-2008 by Glynn Clements and the GRASS Development Team
7
8 This program is free software under the GNU General Public License
9 (>=v2). Read the file COPYING that comes with GRASS for details.
10
11 \author Glynn Clements
12 */
13
14#include "psdriver.h"
15
16void PS_Begin(void)
17{
18 output("NEW\n");
19}
20
21void PS_Move(double x, double y)
22{
23 output("%f %f MOVE\n", x, y);
24}
25
26void PS_Cont(double x, double y)
27{
28 output("%f %f CONT\n", x, y);
29}
30
31void PS_Close(void)
32{
33 output("CLOSE\n");
34}
35
36void PS_Stroke(void)
37{
38 output("STROKE\n");
39}
40
41void PS_Fill(void)
42{
43 output("FILL\n");
44}
45
46void PS_Point(double x, double y)
47{
48 output("%f %f POINT\n", x, y);
49}
void PS_Stroke(void)
void PS_Fill(void)
void PS_Close(void)
void PS_Begin(void)
void PS_Point(double x, double y)
void PS_Cont(double x, double y)
void PS_Move(double x, double y)
void output(const char *fmt,...)
#define x