1DPDRAW(3NCARG)                   NCAR GRAPHICS                  DPDRAW(3NCARG)
2
3
4

NAME

6       DPDRAW - Used to draw a curve when fractional coordinates are available
7       and no smoothing is to be done.
8

SYNOPSIS

10       CALL DPDRAW (XCPF,YCPF,IFVL)
11

C-BINDING SYNOPSIS

13       #include <ncarg/ncargC.h>
14
15       void c_dpdraw (float xcpf, float ycpf, int ifvl);
16

DESCRIPTION

18       XCPF        (an input expression of type REAL) specifies the X
19                   coordinate of a point in the fractional coordinate system.
20                   Ignored when IFVL = 2.
21
22       YCPF        (an input expression of type REAL) specifies the Y
23                   coordinate of a point in the fractional coordinate system.
24                   Ignored when IFVL = 2.
25
26       IFVL        (an input expression of type INTEGER) indicates what type
27                   of call is being done: "0" implies a "first-point" call,
28                   "1" implies a "vector" call, and "2" implies a "last-point"
29                   or "buffer-flush" call.
30

C-BINDING DESCRIPTION

32       The C-binding argument descriptions are the same as the FORTRAN
33       argument descriptions.
34

USAGE

36       Use "CALL DPDRAW(XCPF,YCPF,0)" to do a "pen-up" move to the first point
37       in a sequence of points defining a curve.
38
39       Use "CALL DPDRAW(XCPF,YCPF,1)" to do "pen-down" moves to the second and
40       following points in a sequence of points defining a curve.
41
42       Use "CALL DPDRAW(0.,0.,2) to terminate a sequence of calls, finish
43       drawing the curve, and flush internal buffers.
44

EXAMPLES

46       Use the ncargex command to see the following relevant examples: tdshpk.
47

ACCESS

49       To use DPDRAW or c_dpdraw, load the NCAR Graphics libraries ncarg,
50       ncarg_gks, and ncarg_c, preferably in that order.
51

SEE ALSO

53       Online: dashpack, dashpack_params, dpcurv, dpfrst, dpgetc, dpgeti,
54       dpgetr, dplast, dpline, dpsetc, dpseti, dpsetr, dpsmth, dpvect,
55       ncarg_cbind.
56
57       Hardcopy: None.
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
79UNIX                              March 1995                    DPDRAW(3NCARG)
Impressum