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 inERRIND. 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β Left2β Center3β Right
TXALVβ (Real, Output) β returns the current vertical text alignment:0β Normal (default)1β Top2β Cap3β Half4β Base5β 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 π
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 πβ¨
π¦ 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