GQTXAL(3NCARG)

πŸ’… GQTXAL β€” the "Inquire text alignment" era ✨

okay bestie, welcome to GQTXAL from the NCAR GRAPHICS manual (section 3NCARG, iykyk). This one is short and sweet and it is literally just here to tell you how your text is currently aligned. No cap. πŸŽ€


✨ NAME ✨

GQTXAL β€” (Inquire text alignment) β€” it retrieves the horizontal and vertical text alignments. that's it, that's the whole job, and she does it flawlessly πŸ‘‘


🌸 SYNOPSIS 🌸

CALL GQTXAL (ERRIND, TXALH, TXALV)

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

#include <ncarg/gks.h>

void ginq_text_align(Gint *err_ind, Gtext_align *text_align);

πŸ’– DESCRIPTION πŸ’–

okay so here's what you're handing her, one by one:

  • ERRIND β€” (Integer, Output) β€” if the inquired values can't be returned correctly, a non-zero error indicator comes back in ERRIND. otherwise you get a zero. 🫢 go consult the "User's Guide for NCAR GKS-0A Graphics" for what the error indicators actually mean, because that's where the lore lives.
  • TXALH β€” (Real, Output) β€” returns the current horizontal text alignment:
    • 0 β€” Normal (default)
    • 1 β€” Left
    • 2 β€” Center
    • 3 β€” Right
  • TXALV β€” (Real, Output) β€” returns the current vertical text alignment:
    • 0 β€” Normal (default)
    • 1 β€” Top
    • 2 β€” Cap
    • 3 β€” Half
    • 4 β€” Base
    • 5 β€” Bottom

like, she's not guessing, she's reporting. main character energy fr fr ⭐


πŸ”₯ ACCESS πŸ”₯

to use GKS routines, load the NCAR GKS-0A library ncarg_gks. that's the vibe check you gotta pass before any of this works πŸ’…


🌈 SEE ALSO 🌈

Online: gtx, gstxp, gstxal, gstxfp, gschh, gschsp, gschup, gschxp, gscr, gstxci, gqtxp, gqtxal, gqtxfp, gqchh, gqchsp, gqchup, gqchxp, plotchar, ngdots, ginq_text_align

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.

and that's the whole page, bestie 🫢 this was the UNIX flavor, dated March 1993, filed under GQTXAL(3NCARG) β€” iconic then, iconic now, periodt πŸ’–βœ¨