GQTXP(3NCARG)
π GQTXP β the "what's my text path rn" check (3NCARG)
okay bestie, welcome to the NCAR Graphics manual, we're doing this together π This one is GQTXP from the NCAR Graphics crew, and honestly? It's giving "short and sweet and does exactly one thing."
β¨ NAME β¨
GQTXP (Inquire text path) β it retrieves the current text path. that's it. that's the whole job. no notes. π
πΈ SYNOPSIS πΈ
CALL GQTXP (ERRIND, TXP)
π¦ C-BINDING SYNOPSIS π¦
for my C girls, gents and theys:
#include <ncarg/gks.h>
void ginq_text_path(Gint *err_ind, Gtext_path *text_path);
π DESCRIPTION π
so here's what you're handing over:
ERRINDβ (Integer, Output) β if the inquired value can't be returned correctly, you get a non-zero error indicator dropped in here, otherwise it's a zero. wanna know what all those error indicators actually mean? go consult the "User's Guide for NCAR GKS-0A Graphics". it's got the lore. πTXPβ (Integer, Output) β this is the main character of the whole operation: it returns the current text path, either as set by default or as set by a call toGSTXP. and the legal values, periodt:0β draw successive characters in the string such that charactern+lappears to the right of charactern. this is text path "right" and it's the default, bestie. if you never calledGSTXP, this is what you're getting. β¨1β draw charactern+1to the left of charactern. this is text path "left".2β draw charactern+1above charactern. this is text path "up".3β draw charactern+1below charactern. this is text path "down".
like. it's a vibe check on which direction your letters are vibing. simple as. π«Ά
π₯ ACCESS π₯
to use GKS routines, you gotta load the NCAR GKS-0A library ncarg_gks. that's the entry fee, no cap. π
β SEE ALSO β
Online: gtx, gstxp, gstxal, gstxfp, gschh, gschsp, gschup, gschxp, gscr, gstxci, gqtxp, gqtxal, gqtxfp, gqchh, gqchsp, gqchup, gqchxp, plotchar, ginq_text_path
Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version
π 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 little gem lives in the NCAR Graphics manual (the 3NCARG girlies, you know the ones π), and the UNIX version of this page is dated March 1993 β vintage but still slaying, lowkey iconic π go forth and inquire about your text path, you've got this π¦β¨
π¦ 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