1DPGETI(3NCARG) NCAR GRAPHICS DPGETI(3NCARG)
2
3
4
6 DPGETI - Retrieves the integral value of an internal parameter of type
7 INTEGER or REAL.
8
10 CALL DPGETI (PNAM,IVAL)
11
13 #include <ncarg/ncargC.h>
14
15 void c_dpgeti (char *pnam, int *ival)
16
18 PNAM (an input constant or variable of type CHARACTER) specifies
19 the name of the parameter to get. The name must appear as
20 the first three characters of the string. Other characters
21 may be used to document the use of the parameter being
22 retrieved; for example, instead of just ´DPL´, one can use
23 ´DPL - DASH PATTERN LENGTH´.
24
25 IVAL (an output variable of type INTEGER) is the name of the
26 variable into which the value of the internal parameter
27 specified by PNAM is to be retrieved. If the internal
28 parameter is a value "i" of type INTEGER, the value
29 returned is "i". If the internal parameter is a value "r"
30 of type REAL, the value returned is "INT(r)".
31
33 The C-binding argument descriptions are the same as the FORTRAN
34 argument descriptions.
35
37 This routine allows you to retrieve the current value of Dashpack
38 parameters. For a complete list of parameters available in this
39 utility, see the dashpack_params man page.
40
42 To use DPGETI or c_dpgeti, load the NCAR Graphics libraries ncarg,
43 ncarg_gks, and ncarg_c, preferably in that order.
44
46 Online: dashpack, dashpack_params, dpcurv, dpdraw, dpfrst, dpgetc,
47 dpgetr, dplast, dpline, dpsetc, dpseti, dpsetr, dpsmth, dpvect,
48 ncarg_cbind.
49
50 Hardcopy: None.
51
53 Copyright (C) 1987-2007
54 University Corporation for Atmospheric Research
55
56 This documentation is free software; you can redistribute it and/or
57 modify it under the terms of the GNU General Public License as
58 published by the Free Software Foundation; either version 2 of the
59 License, or (at your option) any later version.
60
61 This software is distributed in the hope that it will be useful, but
62 WITHOUT ANY WARRANTY; without even the implied warranty of
63 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
64 General Public License for more details.
65
66 You should have received a copy of the GNU General Public License along
67 with this software; if not, write to the Free Software Foundation,
68 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
69
70
71
72UNIX March 1995 DPGETI(3NCARG)