logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

DPVECT - Specifies the second and following points in a sequence of points, in the user coordinate

Access

       To  use DPVECT or c_dpvect, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in
       that order.

C-Binding Description

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

C-Binding Synopsis

       #include <ncarg/ncargC.h>

       void c_dpvect (float xcpu, float ycpu);

Description

       XCPU        (an  input  expression  of  type  REAL)  specifies  the  X coordinate of a point, in the user
                   coordinate system.

       YCPU        (an input expression of type REAL) specifies the  Y  coordinate  of  a  point,  in  the  user
                   coordinate system.

Examples

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

Name

       DPVECT - Specifies the second and following points in a sequence of points, in the user coordinate
       system, defining a curve to be drawn.

See Also

       Online: dashpack, dashpack_params, dpcurv,  dpdraw,  dpfrst,  dpgetc,  dpgeti,  dpgetr,  dplast,  dpline,
       dpsetc, dpseti, dpsetr, dpsmth, dpvect, ncarg_cbind.

       Hardcopy: None.

Synopsis

       CALL DPVECT (XCPU,YCPU)

Usage

       Call  DPFRST to do a "pen-up" move to the first of a sequence of points defining a curve.  Call DPVECT to
       do "pen-down" moves to each of the other points in the sequence and then call DPLAST  to  finish  drawing
       the curve and flush the buffers.

       DPVECT  maps the input coordinates to the fractional coordinate system and then does a "pen-down" call to
       either DPDRAW (if smoothing is turned  off)  or  to  DPSMTH  (if  smoothing  is  turned  on)  with  those
       coordinates.

See Also