GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
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
16
void
PS_Begin
(
void
)
17
{
18
output
(
"NEW\n"
);
19
}
20
21
void
PS_Move
(
double
x
,
double
y)
22
{
23
output
(
"%f %f MOVE\n"
,
x
, y);
24
}
25
26
void
PS_Cont
(
double
x
,
double
y)
27
{
28
output
(
"%f %f CONT\n"
,
x
, y);
29
}
30
31
void
PS_Close
(
void
)
32
{
33
output
(
"CLOSE\n"
);
34
}
35
36
void
PS_Stroke
(
void
)
37
{
38
output
(
"STROKE\n"
);
39
}
40
41
void
PS_Fill
(
void
)
42
{
43
output
(
"FILL\n"
);
44
}
45
46
void
PS_Point
(
double
x
,
double
y)
47
{
48
output
(
"%f %f POINT\n"
,
x
, y);
49
}
PS_Stroke
void PS_Stroke(void)
Definition:
psdriver/draw.c:36
PS_Fill
void PS_Fill(void)
Definition:
psdriver/draw.c:41
PS_Close
void PS_Close(void)
Definition:
psdriver/draw.c:31
PS_Begin
void PS_Begin(void)
Definition:
psdriver/draw.c:16
PS_Point
void PS_Point(double x, double y)
Definition:
psdriver/draw.c:46
PS_Cont
void PS_Cont(double x, double y)
Definition:
psdriver/draw.c:26
PS_Move
void PS_Move(double x, double y)
Definition:
psdriver/draw.c:21
output
void output(const char *fmt,...)
Definition:
psdriver/graph_set.c:232
psdriver.h
x
#define x
lib
psdriver
draw.c
Generated on Sun Dec 22 2024 07:38:13 for GRASS GIS 8 Programmer's Manual by
1.9.1