1GPOLYLINE(3NCARG) NCAR GRAPHICS GPOLYLINE(3NCARG)
2
3
4
6 gpolyline (Polyline) - This output primitive draws line segments con‐
7 necting a sequence of user-specified coordinate pairs.
8
10 #include <ncarg/gks.h>
11
12 void gpolyline(const Gpoint_list *point_list);
13
15 point_list.num_points
16 (Gint, Input) - The number of points in the line to be
17 drawn. Must be larger than one.
18
19 point_list.points
20 (Gint *, Input) - The X and Y coordinates (specified in
21 world coordinates) of the point_list.num_points points to
22 be connected by line segments.
23
25 Note that the coordinate pairs must be in world coordinates and not
26 user coordinates. Among other things, this means that the log scaling
27 and mirror-imaging features available via the c_set call and the SPPS
28 functions for drawing lines are not applicable here.
29
31 To use the GKS C-binding routines, load the ncarg_gks and ncarg_c
32 libraries.
33
35 Online: gset_linetype(3NCARG), gset_linewidth(3NCARG),
36 gset_colr_rep(3NCARG), gset_line_colr_ind(3NCARG), ginq_line‐
37 type(3NCARG), ginq_linewidth(3NCARG), ginq_line_colr_ind(3NCARG), dash‐
38 line(3NCARG), set(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)
39
40 Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Funda‐
41 mentals, UNIX Version "The Use of X/Y Coordinates in NCAR Graphics" SCD
42 User Document"
43
45 Copyright (C) 1987-2007
46 University Corporation for Atmospheric Research
47
48 This documentation is free software; you can redistribute it and/or
49 modify it under the terms of the GNU General Public License as pub‐
50 lished by the Free Software Foundation; either version 2 of the
51 License, or (at your option) any later version.
52
53 This software is distributed in the hope that it will be useful, but
54 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
55 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
56 Public License for more details.
57
58 You should have received a copy of the GNU General Public License along
59 with this software; if not, write to the Free Software Foundation,
60 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
61
62
63
64UNIX March 1993 GPOLYLINE(3NCARG)