1DPLINE(3NCARG) NCAR GRAPHICS DPLINE(3NCARG)
2
3
4
6 DPLINE - Draws a straight-line segment between two points in the user
7 coordinate system.
8
10 CALL DPLINE (XCP1,YCP1,XCP2,YCP2)
11
13 #include <ncarg/ncargC.h>
14
15 void c_dpline (float xcp1, float ycp1, float xcp2, float ycp2);
16
18 XCP1 (an input expression of type REAL) specifies the X
19 coordinate of a point at the beginning of the straight-line
20 segment.
21
22 YCP1 (an input expression of type REAL) specifies the Y
23 coordinate of a point at the beginning of the straight-line
24 segment.
25
26 XCP2 (an input expression of type REAL) specifies the X
27 coordinate of a point at the end of the straight-line
28 segment.
29
30 YCP2 (an input expression of type REAL) specifies the Y
31 coordinate of a point at the end of the straight-line
32 segment.
33
35 The C-binding argument descriptions are the same as the FORTRAN
36 argument descriptions.
37
39 DPLINE maps the input coordinates to the fractional system and then
40 passes them on to DPDRAW. Even is smoothing is turned on, no smoothing
41 is done by a call to DPLINE.
42
44 Use the ncargex command to see the following relevant examples: tdshpk.
45
47 To use DPLINE or c_dpline, load the NCAR Graphics libraries ncarg,
48 ncarg_gks, and ncarg_c, preferably in that order.
49
51 Online: dashpack, dashpack_params, dpcurv, dpdraw, dpfrst, dpgetc,
52 dpgeti, dpgetr, dplast, dpsetc, dpseti, dpsetr, dpsmth, dpvect,
53 ncarg_cbind.
54
55 Hardcopy: None.
56
58 Copyright (C) 1987-2007
59 University Corporation for Atmospheric Research
60
61 This documentation is free software; you can redistribute it and/or
62 modify it under the terms of the GNU General Public License as
63 published by the Free Software Foundation; either version 2 of the
64 License, or (at your option) any later version.
65
66 This software is distributed in the hope that it will be useful, but
67 WITHOUT ANY WARRANTY; without even the implied warranty of
68 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
69 General Public License for more details.
70
71 You should have received a copy of the GNU General Public License along
72 with this software; if not, write to the Free Software Foundation,
73 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
74
75
76
77UNIX March 1995 DPLINE(3NCARG)