DPDRAW(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ DPDRAW β€” bestie edition ✨

NCAR GRAPHICS Β· section 3NCARG Β· ok so let me put you ON πŸ’…


πŸ’– NAME πŸ’–

DPDRAW β€” the girl whose whole job is drawing a curve when you already have fractional coordinates and you are simply not doing smoothing today. No smoothing. None. We're drawing raw, periodt.


🌸 SYNOPSIS 🌸

CALL DPDRAW (XCPF,YCPF,IFVL)

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

#include <ncarg/ncargC.h>

void c_dpdraw (float xcpf, float ycpf, int ifvl);

✨ DESCRIPTION ✨

ok so here's the tea, three arguments, all of them matter, let's go 🫢

  • XCPF β€” an input expression of type REAL. It's the X coordinate of a point in the fractional coordinate system. Lowkey ignored when IFVL = 2, she's just not needed for that one bestie.
  • YCPF β€” an input expression of type REAL. It's the Y coordinate of a point in the fractional coordinate system. Also ignored when IFVL = 2, same vibe.
  • IFVL β€” an input expression of type INTEGER, and she's the one telling us what kind of call this even is:
    • 0 β†’ a "first-point" call
    • 1 β†’ a "vector" call
    • 2 β†’ a "last-point" or "buffer-flush" call

πŸŽ€ C-BINDING DESCRIPTION πŸŽ€

The C-binding argument descriptions are literally the same as the FORTRAN argument descriptions. Same energy, different language. Slay πŸ’…


🌈 USAGE 🌈

  • Use "CALL DPDRAW(XCPF,YCPF,0)" to do a "pen-up" move to the first point in a sequence of points defining a curve. ✏️
  • Use "CALL DPDRAW(XCPF,YCPF,1)" to do "pen-down" moves to the second and following points in a sequence of points defining a curve. πŸ‘‘
  • Use "CALL DPDRAW(0.,0.,2) to terminate a sequence of calls, finish drawing the curve, and flush internal buffers. 🚽✨ (yes the quote is like that in the original, no I will not be fixing it, we do not touch the facts)

πŸ”₯ EXAMPLES πŸ”₯

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

That's it. That's the list. One icon, tdshpk, main character energy fr fr.


πŸ’œ ACCESS πŸ’œ

To use DPDRAW or c_dpdraw, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β€” preferably in that order, bestie. Order matters, don't be chaotic. 🌸


🧚 SEE ALSO 🧚

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

Hardcopy: None.

Not me listing the whole dp squad 😭 the family is large and they all show up together, iykyk.

Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.

🌟 and that's the whole page bestie β€” this was DPDRAW(3NCARG) from the NCAR GRAPHICS manual, dated March 1995, and it ate, no cap πŸ’…πŸ¦‹πŸ’–
πŸ“¦ where this page comes from