GQTXAL(3NCARG)
π GQTXAL β Inquire text alignment π
okay bestie, so this is GQTXAL from the NCAR GRAPHICS manual, section 3NCARG. her whole job? she retrieves the horizontal and vertical text alignments. that's it. that's the gig. she's the friend who checks what the vibe is before you post. β¨
β¨ SYNOPSIS β¨
CALL GQTXAL (ERRIND, TXALH, TXALV)
like, that's the whole summoning ritual. three little args. slay. π
π¦ C-BINDING SYNOPSIS π¦
for my C girlies, she's also available as ginq_text_align:
#include <ncarg/gks.h>
void ginq_text_align(Gint *err_ind, Gtext_align *text_align);
no cap, same energy, different language. π
πΈ DESCRIPTION πΈ
okay so here's what each argument is doing, and yes you have to care about all three:
ERRINDβ (Integer, Output) β the vibe-check variable. if the inquired values cannot be returned correctly, a non-zero error indicator comes back inERRIND. otherwise you get a big fat zero. π«Ά if you need to know what the error indicators actually mean, go read "User's Guide for NCAR GKS-0A Graphics" β she's not gonna spell it out here, she's just the messenger.TXALHβ (Real, Output) β returns the current horizontal text alignment:0β Normal (default) π1β Left2β Center3β Right
TXALVβ (Real, Output) β returns the current vertical text alignment:0β Normal (default) π1β Top2β Cap3β Half4β Base5β Bottom
so like, TXALH is telling you which way the text leans and TXALV is telling you which way it sits. main character positioning info, fr fr. π
π ACCESS π
to use the GKS routines, you gotta load the NCAR GKS-0A library ncarg_gks. that's the whole membership card. no library, no alignment gossip. π
β 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
that's the whole friend group right there. iykyk. π§
Hardcopy π
User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version
yes bestie, actual paper. iconic behavior. π
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
okay that's the whole page, no skips, no cuts. go align some text and be great. π
sign-off time π this one's from the UNIX manual, dated March 1993, living under the name GQTXAL(3NCARG) β and the source? the NCAR GRAPHICS crew. periodt. πβ¨
π¦ 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