GRASS 8 Programmer's Manual
8.6.0dev(2026)-c83afef6d3
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
SPDX-FileCopyrightText: 2007-2008 Glynn Clements
7
SPDX-FileCopyrightText: GRASS Development Team
8
SPDX-License-Identifier: GPL-2.0-or-later
9
10
\author Glynn Clements
11
*/
12
13
#include "
psdriver.h
"
14
15
void
PS_Begin
(
void
)
16
{
17
output
(
"NEW\n"
);
18
}
19
20
void
PS_Move
(
double
x,
double
y)
21
{
22
output
(
"%f %f MOVE\n"
,
x
, y);
23
}
24
25
void
PS_Cont
(
double
x,
double
y)
26
{
27
output
(
"%f %f CONT\n"
,
x
, y);
28
}
29
30
void
PS_Close
(
void
)
31
{
32
output
(
"CLOSE\n"
);
33
}
34
35
void
PS_Stroke
(
void
)
36
{
37
output
(
"STROKE\n"
);
38
}
39
40
void
PS_Fill
(
void
)
41
{
42
output
(
"FILL\n"
);
43
}
44
45
void
PS_Point
(
double
x,
double
y)
46
{
47
output
(
"%f %f POINT\n"
,
x
, y);
48
}
PS_Stroke
void PS_Stroke(void)
Definition
psdriver/draw.c:35
PS_Fill
void PS_Fill(void)
Definition
psdriver/draw.c:40
PS_Close
void PS_Close(void)
Definition
psdriver/draw.c:30
PS_Begin
void PS_Begin(void)
Definition
psdriver/draw.c:15
PS_Point
void PS_Point(double x, double y)
Definition
psdriver/draw.c:45
PS_Cont
void PS_Cont(double x, double y)
Definition
psdriver/draw.c:25
PS_Move
void PS_Move(double x, double y)
Definition
psdriver/draw.c:20
output
void output(const char *fmt,...)
Definition
psdriver/graph_set.c:233
psdriver.h
x
#define x
lib
psdriver
draw.c
Generated on Fri Sep 11 2026 06:57:47 for GRASS 8 Programmer's Manual by
1.9.8