GSTXAL(3NCARG)

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

✨ GSTXAL β€” set text alignment ✨

okay bestie, welcome to GSTXAL, a lil routine from the NCAR GRAPHICS cinematic universe (that's the 3NCARG manual, iykyk) whose whole entire job is: it sets the text alignment. that's it. that's the gig. πŸ’…


πŸŽ€ NAME πŸŽ€

GSTXAL (Set text alignment) β€” sets the text alignment.

no cap, that's literally the name and the description in one. iconic efficiency.


🌸 SYNOPSIS 🌸

CALL GSTXAL (TXALH, TXALV)

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

for my C girlies, yes there's a binding:

#include <ncarg/gks.h>

void gset_text_align(const Gtext_align *text_align);

πŸ’– DESCRIPTION πŸ’–

TXALH

(Integer, Input) β€” this one decides the horizontal alignment of the text you're about to draw. your options, queen:

  • 0 β€” Normal (this is the default, so if you say nothing you get this)
  • 1 β€” Left
  • 2 β€” Center
  • 3 β€” Right

TXALV

(Integer, Input) β€” and this one decides the vertical alignment of the text. options:

  • 0 β€” Normal (also the default)
  • 1 β€” Top
  • 2 β€” Cap
  • 3 β€” Half
  • 4 β€” Base
  • 5 β€” Bottom

✨ USAGE ✨

so here's the tea 🍡 β€” text alignment is what positions the text extent rectangle. and the way that rectangle does its thing is it rotates about the point that your horizontal and vertical alignment settings (TXALH, TXALV) pick out. so basically those two little ints are choosing the pivot point. main character decisions fr fr.


πŸ”₯ ACCESS πŸ”₯

to use GKS routines, you gotta load the NCAR GKS-0A library ncarg_gks. that's the door, bestie, walk through it.


🌈 SEE ALSO 🌈

Online

gtx, gstxp, gstxfp, gschh, gschsp, gschup, gschxp, gscr, gstxci, gqtxp, gqtxal, gqtxfp, gqchh, gqchsp, gqchup, gqchxp, plotchar, gset_text_align

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.

⚠️ real talk: that license line is not a vibe, it's a rule. the use of this Software is governed by a License Agreement β€” respect it. πŸ™ˆ

and that's the whole page, bestie. this one lives in the UNIX manual, dated March 1993, filed under GSTXAL(3NCARG). go align some text, you absolute legend πŸ’œπŸ«Ά

πŸ“¦ where this page comes from