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-2009
61       University Corporation for Atmospheric Research
62       The use of this Software is governed by a License Agreement.
63
64
65
66UNIX                              March 1995                    DPDRAW(3NCARG)
Impressum