DPDRAW(3NCARG)
β¨ 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 typeREAL. It's the X coordinate of a point in the fractional coordinate system. Lowkey ignored whenIFVL= 2, she's just not needed for that one bestie.YCPFβ an input expression of typeREAL. It's the Y coordinate of a point in the fractional coordinate system. Also ignored whenIFVL= 2, same vibe.IFVLβ an input expression of typeINTEGER, and she's the one telling us what kind of call this even is:0β a "first-point" call1β a "vector" call2β 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 π
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
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms