GSTXAL(3NCARG)

okay bestie, welcome to GSTXAL(3NCARG) from NCAR GRAPHICS πŸ’– this page is literally all about setting text alignment, and it's giving main character energy.

✨ NAME ✨

GSTXAL (Set text alignment) - sets the text alignment. periodt.

πŸŽ€ SYNOPSIS πŸŽ€

CALL GSTXAL (TXALH, TXALV)

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

#include <ncarg/gks.h>

void gset_text_align(const Gtext_align *text_align);

πŸ’… DESCRIPTION πŸ’…

okay so here's the tea: GSTXAL takes two integer inputs, and they decide where your text lines up. no cap.

TXALH β€” horizontal alignment

TXALH β€” Integer, Input β€” Determines the horizontal alignment of the text to be drawn. Options are:

  • 0 β€” Normal (default) β€” the default vibe, obviously
  • 1 β€” Left β€” left gang
  • 2 β€” Center β€” center it, bestie
  • 3 β€” Right β€” right side, slay

TXALV β€” vertical alignment

TXALV β€” Integer, Input β€” Determines the vertical alignment of the text to be drawn. Options are:

  • 0 β€” Normal (default) β€” default again, periodt
  • 1 β€” Top β€” top energy
  • 2 β€” Cap β€” cap alignment
  • 3 β€” Half β€” halfway there
  • 4 β€” Base β€” base alignment
  • 5 β€” Bottom β€” bottom vibes

🌈 USAGE 🌈

Text alignment is used to position the text extent rectangle. The text extent rectangle rotates about the point determined by the horizontal and vertical text alignment settings (TXALH, TXALV). so yeah, those two little integers are the whole rotation vibe check.

πŸ”₯ ACCESS πŸ”₯

To use GKS routines, load the NCAR GKS-0A library ncarg_gks. that's the access situation, bestie.

πŸ‘‘ 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.


and that's the whole page! this one is from UNIX, dated March 1993, and it's GSTXAL(3NCARG). bye bestie, go align some text πŸ’…βœ¨