1CPCHCF(3NCARG) NCAR GRAPHICS CPCHCF(3NCARG)
2
3
4
6 CPCHCF - Called by Conpack routines when a constant field is detected.
7 The default version does nothing. A user-written version may be
8 supplied to provide control as the constant-field message is drawn.
9
11 CALL CPCHCF (IFLG)
12
14 IFLG (INTEGER, input) is positive if an action is about to be
15 taken, negative if an action has just been completed. The
16 action in question is defined by the absolute value of
17 IFLG, as follows:
18
19 · The value 1 implies the determination of the size of
20 the label (by means of a call to PLCHHQ, in the package
21 Plotchar, with ANGD=360.).
22
23 · The value 2 implies the filling of the box around the
24 label, which is done before the drawing of the label
25 itself.
26
27 · The value 3 implies the drawing of the label (by means
28 of a call to PLCHHQ, in the package Plotchar).
29
30 · The value 4 implies the drawing of the box around the
31 label, which is done after the drawing of the label
32 itself.
33
35 The routine CPCHCF is not to be called by the user. It is called
36 several times by Conpack while a constant-field label is being drawn.
37 The default version of CPCHCF does nothing. A user-supplied replacement
38 may change attributes such as color and line width (by calling the SPPS
39 routine SETUSV or the appropriate GKS routines). The text of the label
40 being written may be retrieved by means of a "CALL CPGETC
41 ('CTM',CVAL)". The text of the label may be changed by means of a "CALL
42 CPSETC ('CTM',CVAL)"; this should only be done during a call with IFLG
43 = 1 or 3 and, if it is done for one of those two values, it should also
44 be done for the other. When CPCHCF is called, the parameter 'ZDV' will
45 have been set to the value of the field; its value may be retrieved and
46 used by CPCHCF.
47
49 To use CPCHCF, load the NCAR Graphics libraries ncarg, ncarg_gks, and
50 ncarg_c, preferably in that order.
51
53 Online: conpack, cpback, cpchcl, cpchhl, cpchil, cpchll, cpcica,
54 cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl, cpezct, cpgetc, cpgeti,
55 cpgetr, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl, cppklb, cprect,
56 cprset, cpscae, cpsetc, cpseti, cpsetr, cpsprs, cpsps1, cpsps2,
57 ncarg_cbind
58
60 Copyright (C) 1987-2007
61 University Corporation for Atmospheric Research
62
63 This documentation is free software; you can redistribute it and/or
64 modify it under the terms of the GNU General Public License as
65 published by the Free Software Foundation; either version 2 of the
66 License, or (at your option) any later version.
67
68 This software is distributed in the hope that it will be useful, but
69 WITHOUT ANY WARRANTY; without even the implied warranty of
70 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
71 General Public License for more details.
72
73 You should have received a copy of the GNU General Public License along
74 with this software; if not, write to the Free Software Foundation,
75 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
76
77
78
79
80UNIX March 1993 CPCHCF(3NCARG)