GINQ_TEXT_ALIGN(3NCARG)
π GINQ_TEXT_ALIGN π
okay bestie, welcome to the NCAR GRAPHICS corner of the manual, section 3NCARG, where we talk about ginq_text_align π β and yes she's an inquire routine, so she's nosy in the best way. this one's whole job is: retrieve the horizontal and vertical text alignments. that's it, that's the girl. π
β¨ NAME β¨
ginq_text_align β retrieves the horizontal and vertical text alignments. fr fr that's the whole personality. π¦
πΈ SYNOPSIS πΈ
#include <ncarg/gks.h>
void ginq_text_align(Gint *err_ind, Gtext_align *text_align);
look at her. two pointers, zero drama. π
π DESCRIPTION π
ginq_text_align (which, translated from manpage-ese, means Inquire text alignment) β retrieves the horizontal and vertical text alignments. she's giving librarian energy: you ask, she tells you exactly where your text is currently aligned. πβ¨
err_indβ (Output) okay so if the inquired values literally cannot be returned correctly, you get a non-zero error indicator dropped intoerr_ind. and if everything's fine? a big fat zero. π«Ά if you're like "what do the error indicators even MEAN", go read the "User's Guide for NCAR GKS-0A Graphics", she explains it all.text_align.horβ (Output) returns the current horizontal text alignment. the options are:GHOR_NORMβ Normal (the default, the moment, the blueprint) πGHOR_LEFTβ LeftGHOR_CTRβ CenterGHOR_RIGHTβ Right
text_align.vertβ (Output) returns the current vertical text alignment. and the roster is:GVERT_NORMβ Normal (default, again the blueprint bestie) βGVERT_TOPβ TopGVERT_CAPβ CapGVERT_HALFβ HalfGVERT_BASEβ BaseGVERT_BOTTOMβ Bottom
that's six vertical vibes and four horizontal vibes. mix and match, she doesn't judge. π§
π₯ ACCESS π₯
to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. no cap. π
π SEE ALSO π
Online: gtext(3NCARG), gset_text_path(3NCARG), gset_text_align(3NCARG), gset_text_font_prec(3NCARG), gset_char_ht(3NCARG), gset_char_space(3NCARG), gset_char_up_vec(3NCARG), gset_char_expan(3NCARG), gset_colr_rep(3NCARG), gset_text_colr_ind(3NCARG), ginq_text_path(3NCARG), ginq_text_align(3NCARG), ginq_text_font_prec(3NCARG), ginq_char_ht(3NCARG), ginq_char_space(3NCARG), ginq_char_up_vec(3NCARG), ginq_char_expan(3NCARG), plotchar(3NCARG), ngdots(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)
(and yes, ginq_text_align(3NCARG) is listed in her own SEE ALSO. iconic self-referential main character behavior, we love to see it. ππ)
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 one dropped way back in March 1993 on UNIX, living under the 3NCARG manual and the NCAR GRAPHICS umbrella β so when you cite her, that's the lore. go forth and inquire responsibly. mwah. π πΈ
π¦ 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