MPGLTY(3NCARG)
π MPGLTY β the NCAR Graphics line-type detector β¨
okay so bestie, this is a page from the NCAR Graphics manual, and its whole personality is one tiny question: "hey, what kind of line are we drawing rn?" π If you're deep in MPLNDM doing line-processing stuff and you need to know whether the line in your hands is a coastline, a country border, or some county-level situation, this is your girl. Let's get into it. π¦
β¨ NAME β¨
MPGLTY</purgle> β Retrieves the type of the line currently being drawn by MPLNDM.
β¨ SYNOPSIS β¨
CALL MPGLTY (ILTY)
β¨ C-BINDING SYNOPSIS β¨
#include <ncarg/ncargC.h>
void c_mpglty (int *ilty)
πΈ DESCRIPTION πΈ
ILTYβ an output variable of typeINTEGER. It comes back holding the type of the line, and the vibes are as follows:1β a line separating land from water π2β a line separating one "continent" from another (as, for example, Africa from Eurasia, North America from Central America, or Central America from South America)3β a line separating one country from another4β a line separating one state from another5β a line separating one county from another
and here's the plot twist, bestie: if the current line is used on more than one level β like, say, a portion of the California coastline, which is used on all five levels β then ILTY will be the smallest of the numerical values that apply. So it's giving "lowest number wins," fr fr. π
π C-BINDING DESCRIPTION π
The C-binding argument description is the same as the FORTRAN argument description. No cap. β¨
π USAGE π
MPGLTY may be called from within a line-processing routine whose name is used in a call to MPLNDM to retrieve, in ILTY, the type of the line being processed. This information may be used to determine how the line is to be drawn. π¨
π¦ EXAMPLES π¦
Use the ncargex command to see the following relevant example: mpex11. go look at it, it's cute π«Ά
β ACCESS β
To use MPGLTY or c_mpglty, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. Don't fight the order, she knows what she's doing. π
π₯ SEE ALSO π₯
Online: ezmap, ezmap_params, mapaci, mapbla, mapblm, mapdrw, mapeod, mapfst, mapgci, mapgrd, mapgrm, mapgtc, mapgti, mapgtl, mapgtr, mapint, mapiq, mapiqa, mapiqd, mapiqm, mapit, mapita, mapitd, mapitm, maplbl, maplmb, maplot, mappos, maproj, maprs, maprst, mapsav, mapset, mapstc, mapsti, mapstl, mapstr, maptra, maptri, maptrn, mapusr, mapvec, mpchln, mpfnme, mpgetc, mpgeti, mpgetl, mpgetr, mpiaty, mpifnb, mpilnb, mpiola, mpiosa, mpipai, mpipan, mpipar, mpisci, mplnam, mplndm, mplndr, mplnri, mpname, mprset, mpsetc, mpseti, mpsetl, mpsetr, supmap, supcon, ncarg_cbind
yes, that's a whole lotta friends. it's giving group chat with 70 members. read them all, bestie, they're all valid. πΈ
π 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!! This one's from the UNIX manual, the NCAR Graphics collection, dated April 1998, and its source is MPGLTY(3NCARG). slay, go detect some line types πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms