GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-565e82de51
Main Page
Related Pages
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
Enumerations
a
c
d
e
h
i
j
l
m
n
o
p
r
s
t
v
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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 Thu Mar 20 2025 07:33:24 for GRASS GIS 8 Programmer's Manual by
1.9.1