1CPGETI(3NCARG) NCAR GRAPHICS CPGETI(3NCARG)
2
3
4
6 CPGETI - Retrieves the integral value of an internal parameter of type
7 INTEGER or REAL.
8
10 CALL CPGETI (PNAM, IVAL)
11
13 #include <ncarg/ncargC.h>
14
15 void c_cpgeti (char *pnam, int *ival)
16
18 PNAM (CHARACTER, input) is the name of a parameter whose integer
19 value is to be retrieved. Only the first three characters
20 of PNAM are examined. It is recommended that the rest of
21 the character string be used to improve the readability of
22 the code. For example, instead of just 'LLP', use 'LLP -
23 LINE LABEL POSITIONING'.
24
25 IVAL (INTEGER, output) is a variable in which the value of the
26 parameter specified by PNAM is to be returned. If the
27 internal parameter is a value "i" of type INTEGER, the
28 value returned is "i". If the internal parameter is a
29 value "r" of type REAL, the value returned is "INT(r)".
30
32 The C-binding argument descriptions are the same as the FORTRAN
33 argument descriptions.
34
36 This routine allows you to retrieve the current value of Conpack
37 parameters. For a complete list of parameters available in this
38 utility, see the conpack_params man page.
39
41 Use the ncargex command to see the following relevant examples: ccpcff,
42 ccpclc, ccpcld, ccpcldm, ccpcll, ccpklb, ccplbam, ccplbdr, ccpllb,
43 ccpllc, ccplll, ccpllo, ccpllp, ccpllt, ccpllw, ccppc, ccppc1, ccppc2,
44 ccppc3, ccppc4, ccppkcl, ccprc, ccprwc, ccprwu, ccpscam, colcon,
45 cpex01, cpex02, cpex03, cpex06, cpexcc, vvex01, fcover, ffex03, ffex05.
46
48 To use CPGETI or c_cpgeti, load the NCAR Graphics libraries ncarg,
49 ncarg_gks, and ncarg_c, preferably in that order.
50
52 See the conpack man page for a description of all Conpack error
53 messages and/or informational messages.
54
56 Online: conpack, conpack_params, cpback, cpchcf, cpchcl, cpchhl,
57 cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl,
58 cpezct, cpgetc, cpgetr, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl,
59 cppklb, cprect, cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2,
60 ncarg_cbind
61
62 Hardcopy: NCAR Graphics Contouring and Mapping Tutorial
63
65 Copyright (C) 1987-2009
66 University Corporation for Atmospheric Research
67
68 The use of this Software is governed by a License Agreement.
69
70
71
72UNIX March 1993 CPGETI(3NCARG)