GRASS Programmer's Manual
6.4.2(2012)
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
psdriver/Polyline.c
Go to the documentation of this file.
1
2
#include "
psdriver.h
"
3
4
void
PS_Polyline_abs
(
const
int
*xarray,
const
int
*yarray,
int
number)
5
{
6
int
i;
7
8
if
(number < 2)
9
return
;
10
11
output
(
"%d %d POLYLINESTART\n"
, xarray[0], yarray[0]);
12
13
for
(i = 1; i < number; i++)
14
output
(
"%d %d POLYLINEVERTEX\n"
, xarray[i], yarray[i]);
15
16
output
(
"POLYLINEEND\n"
);
17
}
lib
psdriver
Polyline.c
Generated on Sun Sep 9 2012 18:55:34 for GRASS Programmer's Manual by
1.8.1.2