GQTXP(3NCARG)

πŸ’– GQTXP β€” the "Inquire text path" moment (NCAR GRAPHICS, section 3NCARG) πŸŽ€

okay bestie, listen, this is a whole Fortran/C situation and I'm gonna hold your hand through it, no cap ✨


✨ NAME ✨

GQTXP β€” Inquire text path. She retrieves the current text path. That's it. That's the whole job. Iconic, honestly. πŸ‘‘


🌸 SYNOPSIS 🌸

CALL GQTXP (ERRIND, TXP)

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

#include <ncarg/gks.h>

void ginq_text_path(Gint *err_ind, Gtext_path *text_path);

πŸ’… DESCRIPTION πŸ’…

So here's the tea, two arguments, both outputs, both carrying the lore:

  • ERRIND β€” (Integer, Output) β€” if the value you asked for cannot be returned correctly, a non-zero error indicator comes back in ERRIND. Otherwise you get a zero, slay. If you need the actual meaning of those error indicators, go read the "User's Guide for NCAR GKS-0A Graphics", because that's where the lore lives. πŸ“–
  • TXP β€” (Integer, Output) β€” returns the current text path, exactly as it was set by default or by a call to GSTXP. Legal values, and I'm listing all four because we don't gatekeep:
    • 0 β€” draws successive characters in the string such that character n+1 appears to the right of character n. This is text path "right", and it's the default. 🫢
    • 1 β€” draws character n+1 to the left of character n. This is text path "left".
    • 2 β€” draws character n+1 above character n. This is text path "up". ⬆️
    • 3 β€” draws character n+1 below character n. This is text path "down". ⬇️

🌈 ACCESS 🌈

To use GKS routines, load the NCAR GKS-0A library ncarg_gks. That's the whole vibe check. βœ…


πŸ’œ 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 (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.

fr fr, that's the entire page. every flag, every value, every default, all four text paths, nothing skipped. πŸ’€βœ¨

mwah πŸ’‹ this came to you courtesy of the UNIX man page, March 1993, and the title GQTXP(3NCARG) β€” 1987 to 2009 copyright energy, University Corporation for Atmospheric Research, all governed by a License Agreement. she's vintage, she's iconic, she ate. πŸŽ€πŸ¦‹πŸ’–