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 into err_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 β€” Left
    • GHOR_CTR β€” Center
    • GHOR_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 β€” Top
    • GVERT_CAP β€” Cap
    • GVERT_HALF β€” Half
    • GVERT_BASE β€” Base
    • GVERT_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 (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. πŸ’…πŸŒΈ