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-2009
59 University Corporation for Atmospheric Research
60 The use of this Software is governed by a License Agreement.
61
62
63
64UNIX March 1995 DPLINE(3NCARG)