1DPVECT(3NCARG) NCAR GRAPHICS DPVECT(3NCARG)
2
3
4
6 DPVECT - Specifies the second and following points in a sequence of
7 points, in the user coordinate system, defining a curve to be drawn.
8
10 CALL DPVECT (XCPU,YCPU)
11
13 #include <ncarg/ncargC.h>
14
15 void c_dpvect (float xcpu, float ycpu);
16
18 XCPU (an input expression of type REAL) specifies the X
19 coordinate of a point, in the user coordinate system.
20
21 YCPU (an input expression of type REAL) specifies the Y
22 coordinate of a point, in the user coordinate system.
23
25 The C-binding argument descriptions are the same as the FORTRAN
26 argument descriptions.
27
29 Call DPFRST to do a "pen-up" move to the first of a sequence of points
30 defining a curve. Call DPVECT to do "pen-down" moves to each of the
31 other points in the sequence and then call DPLAST to finish drawing the
32 curve and flush the buffers.
33
34 DPVECT maps the input coordinates to the fractional coordinate system
35 and then does a "pen-down" call to either DPDRAW (if smoothing is
36 turned off) or to DPSMTH (if smoothing is turned on) with those
37 coordinates.
38
40 Use the ncargex command to see the following relevant examples: tdshpk.
41
43 To use DPVECT or c_dpvect, load the NCAR Graphics libraries ncarg,
44 ncarg_gks, and ncarg_c, preferably in that order.
45
47 Online: dashpack, dashpack_params, dpcurv, dpdraw, dpfrst, dpgetc,
48 dpgeti, dpgetr, dplast, dpline, dpsetc, dpseti, dpsetr, dpsmth, dpvect,
49 ncarg_cbind.
50
51 Hardcopy: None.
52
54 Copyright (C) 1987-2007
55 University Corporation for Atmospheric Research
56
57 This documentation is free software; you can redistribute it and/or
58 modify it under the terms of the GNU General Public License as
59 published by the Free Software Foundation; either version 2 of the
60 License, or (at your option) any later version.
61
62 This software is distributed in the hope that it will be useful, but
63 WITHOUT ANY WARRANTY; without even the implied warranty of
64 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
65 General Public License for more details.
66
67 You should have received a copy of the GNU General Public License along
68 with this software; if not, write to the Free Software Foundation,
69 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
70
71
72
73UNIX March 1995 DPVECT(3NCARG)