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

DPLINE - Draws a straight-line segment between two points in the user coordinate system.

Access

       To use DPLINE or c_dpline, 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_dpline (float xcp1, float ycp1, float xcp2, float ycp2);

Description

       XCP1        (an  input expression of type REAL) specifies the X coordinate of a point at the beginning of
                   the straight-line segment.

       YCP1        (an input expression of type REAL) specifies the Y coordinate of a point at the beginning  of
                   the straight-line segment.

       XCP2        (an  input  expression  of type REAL) specifies the X coordinate of a point at the end of the
                   straight-line segment.

       YCP2        (an input expression of type REAL) specifies the Y coordinate of a point at the  end  of  the
                   straight-line segment.

Examples

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

Name

       DPLINE - Draws a straight-line segment between two points in the user coordinate system.

See Also

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

       Hardcopy: None.

Synopsis

       CALL DPLINE (XCP1,YCP1,XCP2,YCP2)

Usage

       DPLINE  maps  the  input coordinates to the fractional system and then passes them on to DPDRAW.  Even is
       smoothing is turned on, no smoothing is done by a call to DPLINE.

See Also