GINQ_TEXT_ALIGN(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ GINQ_TEXT_ALIGN ✨ (3NCARG)

okay bestie, welcome to the NCAR GRAPHICS manual page for ginq_text_align πŸ’– it's giving "inquire text alignment" energy, and yes, that's exactly what it does: it retrieves the horizontal and vertical text alignments. no cap. πŸŽ€


🌸 SYNOPSIS 🌸

#include <ncarg/gks.h>

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

like. that's the whole vibe. two pointers, one function, zero drama. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so let's get into the args, because they matter and i need you to actually read them πŸ™ˆ

  • err_ind β€” (Output) if the inquired values can't be returned correctly, a non-zero error indicator comes back in err_ind; otherwise you get a zero. and if you're like "what does the number MEAN tho" β€” go consult "User's Guide for NCAR GKS-0A Graphics", it has the whole description of the error indicators. i'm not making that up, that's literally where it is. πŸ‘‘
  • text_align.hor β€” (Output) returns the current horizontal text alignment, and it's one of these four:
    • GHOR_NORM β€” Normal (default) ✨
    • GHOR_LEFT β€” Left
    • GHOR_CTR β€” Center
    • GHOR_RIGHT β€” Right
  • text_align.vert β€” (Output) returns the current vertical text alignment, and it's one of these six:
    • GVERT_NORM β€” Normal (default) ✨
    • GVERT_TOP β€” Top
    • GVERT_CAP β€” Cap
    • GVERT_HALF β€” Half
    • GVERT_BASE β€” Base
    • GVERT_BOTTOM β€” Bottom

so like, if you ever wondered "where is my text actually anchored rn" β€” this is the function that tells you. main character behavior fr fr. 🫢


πŸ’œ ACCESS πŸ’œ

to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. that's it, that's the whole access situation. πŸ”₯


🌈 SEE ALSO 🌈

πŸ“š Online

okay so there's a LOT of siblings in this family, and honestly? iconic. here's the full list, no skipping, we don't do that here πŸ’€

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)

(yes, ginq_text_align(3NCARG) is listed in its own SEE ALSO. self-love, honestly. we stan. πŸ’…)

πŸ“– 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 NCAR GRAPHICS, GINQ_TEXT_ALIGN(3NCARG), straight out of March 1993 β€” vintage but make it slay. go align some text, you've got this. periodt. πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from