GSET_TEXT_PATH(3NCARG)
β¨ GSET_TEXT_PATH(3NCARG) β¨
okay so bestie, welcome to the NCAR GRAPHICS corner of the manpage universe π this one lives in section 3NCARG and it's literally the glow-up button for which direction your text struts across the screen π¦
πΈ NAME πΈ
gset_text_path (aka Set text path) β sets the text paths, aka the directions, in which text is gonna be drawn. periodt.
β¨ SYNOPSIS β¨
#include <ncarg/gks.h>
void gset_text_path(Gtext_path text_path);
π DESCRIPTION π
text_pathβ (Input) this is the direction your character string is gonna get drawn in, no cap. your options are giving:GPATH_RIGHTβ draw successive characters in the string so that charactern+lappears to the right of charactern. this is text path "right" and it's the default, so if you don't say anything, this is what you get πGPATH_LEFTβ draw charactern+1to the left of charactern. this is text path "left".GPATH_UPβ draw charactern+1above charactern. this is text path "up".GPATH_DOWNβ draw charactern+1below charactern. this is text path "down".
so here's the tea π« the right, left, up, and down directions are relative to the character up vector. the right text path direction is perpendicular to the up vector direction. so like, if you wanna draw a text string at a 45 degree angle, your character up vector would be (-1,1), and the text path would be right. it's giving trigonometry but make it fashion β¨
π ACCESS π
to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. that's the entry fee bestie, no skipping π
π SEE ALSO π
Online: gtext(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
Β©οΈ 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 lil icon dropped back in March 1993 under the UNIX manual, and it's been serving text-direction realness ever since π mwah, slay, go draw some words at a 45 degree angle π
π¦ 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