GINQ_TEXT_PATH(3NCARG)
β¨ GINQ_TEXT_PATH β¨
okay bestie, welcome to the NCAR GRAPHICS corner of the manual, this one's called ginq_text_path and it's a lil function from section 3NCARG and honestly? she's giving quietly essential. π
πΈ NAME πΈ
ginq_text_path β retrieves the current text path π¦
β¨ SYNOPSIS β¨
#include <ncarg/gks.h>
void ginq_text_path(Gint *err_ind, Gtext_path *text_path);
π DESCRIPTION π
okay so here's the tea, two arguments, both of them Output, both of them doing their own lil job:
err_ind(Output) β if the inquired value literally cannot be returned correctly, you get a non-zero error indicator dropped intoerr_ind. otherwise? a nice lil zero. π«Ά and if you wanna know what any of those error indicators actually mean, go consult the "User's Guide for NCAR GKS-0A Graphics", that's where the lore lives.text_path(Output) β returns the current text path, whatever it is rn, whether that's the default or something you set by callinggset_text_path. the legal values are, and I'm being so serious, exactly these four:GPATH_RIGHTβ draws successive characters in the string so that charactern+lappears to the right of charactern. this is text path "right" and it is the default, she's the main character. πGPATH_LEFTβ draws charactern+1to the left of charactern. this is text path "left".GPATH_UPβ draws charactern+1above charactern. this is text path "up".GPATH_DOWNβ draws charactern+1below charactern. this is text path "down".
not me being obsessed with how the only difference between these is vibes and direction. character n+1 just going places. literally. π
π ACCESS π
to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. no cap, both of them. π§
π 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)gks(3NCARG)ncarg_gks_cbind(3NCARG)
Hardcopy:
- User's Guide for NCAR GKS-0A Graphics
- NCAR Graphics Fundamentals, UNIX Version
(yeah it references itself up there, ginq_text_path(3NCARG), iconic behaviour honestly π)
π 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, UNIX, March 1993, GINQ_TEXT_PATH(3NCARG) β go forth and inquire about text paths, you got this πβ¨π
π¦ 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